Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 109 kB / 16.27 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 195.2 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 61.53 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3218, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002131/0.3239, allocations: 0.6009 MB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3255, allocations: 1.122 MB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.3256, allocations: 0 / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.3256, allocations: 4 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.3257, allocations: 7.922 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.3263, allocations: 120.5 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3264, allocations: 91.83 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.3265, allocations: 8 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.3266, allocations: 35.91 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.3267, allocations: 31.89 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.3267, allocations: 8 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.3268, allocations: 23.98 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3268, allocations: 0 / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.3269, allocations: 39.86 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3271, allocations: 79.84 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3271, allocations: 0 / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3271, allocations: 3.938 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3271, allocations: 0 / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004449/0.3276, allocations: 387.2 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3276, allocations: 8.031 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.3277, allocations: 4.938 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3278, allocations: 168.4 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3278, allocations: 4.375 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3278, allocations: 12.38 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.68e-05/0.3279, allocations: 38.19 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3279, allocations: 192 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.328, allocations: 7.938 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.328, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.328, allocations: 11.98 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3284, allocations: 292.8 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.3285, allocations: 42.38 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.3285, allocations: 12.92 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3285, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.3286, allocations: 59.39 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.3286, allocations: 0 / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.3288, allocations: 65.69 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.3289, allocations: 63.34 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.329, allocations: 105.8 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.329, allocations: 29.7 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.3291, allocations: 92.03 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.3291, allocations: 7.906 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.3291, allocations: 29.7 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3293, allocations: 314.8 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.3293, allocations: 27.98 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.471e-05/0.3294, allocations: 58.55 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3296, allocations: 84.2 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3296, allocations: 3.938 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000252/0.3298, allocations: 147.5 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.3299, allocations: 37.7 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3299, allocations: 4.125 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3299, allocations: 11.97 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.33, allocations: 7.984 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.33, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.3302, allocations: 23.97 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3302, allocations: 4 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.3303, allocations: 124.2 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.3303, allocations: 7.891 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.3304, allocations: 7.906 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3304, allocations: 4 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3304, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3304, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3305, allocations: 173.6 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3305, allocations: 3.938 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.3305, allocations: 0 / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3306, allocations: 0 / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3306, allocations: 4 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3306, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3306, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.3307, allocations: 89 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.3308, allocations: 85 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3308, allocations: 8 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.3308, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.3308, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3308, allocations: 4 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.3309, allocations: 91.64 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3309, allocations: 4 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002177/0.3311, allocations: 16 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.3313, allocations: 107.2 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3315, allocations: 123.4 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3315, allocations: 4 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.3315, allocations: 15.94 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3317, allocations: 19.98 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.332, allocations: 151.8 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.3323, allocations: 0.6807 MB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.3323, allocations: 11.44 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3323, allocations: 3.938 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of Templates: time 0.002455/0.3348, allocations: 0.9238 MB / 1.025 GB, free: 3.242 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches