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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007167/0.007167, allocations: 105.9 kB / 15.73 MB, free: 6 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.00184/0.00184, allocations: 189 kB / 16.67 MB, free: 5.926 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.494/2.494, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.8798, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001725/0.8816, allocations: 0.6155 MB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.8829, allocations: 1.111 MB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.883, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.8831, allocations: 3.938 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.8831, allocations: 11.92 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.8836, allocations: 134 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.8838, allocations: 87.88 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.8839, allocations: 12 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.8839, allocations: 35.91 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.884, allocations: 27.91 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.8841, allocations: 11.94 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.186e-05/0.8841, allocations: 27.97 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.8842, allocations: 3.984 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.8842, allocations: 31.92 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.8844, allocations: 83.78 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8844, allocations: 0 / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8844, allocations: 0 / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.8844, allocations: 4 kB / 1.168 GB, free: 1.57 MB / 0.8887 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.000486/0.8849, allocations: 379.4 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.885, allocations: 8.922 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.8851, allocations: 42.69 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.8852, allocations: 4.938 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.8853, allocations: 168.3 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.8854, allocations: 8.312 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8854, allocations: 4.375 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.8855, allocations: 46.19 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8855, allocations: 3.938 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.8855, allocations: 4 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8855, allocations: 0 / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.8856, allocations: 8 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.886, allocations: 288.9 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.767e-05/0.8861, allocations: 34.52 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.8861, allocations: 12.84 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.8861, allocations: 4 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.8863, allocations: 67.36 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.8863, allocations: 0 / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.8865, allocations: 69.59 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.8866, allocations: 55.34 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.8867, allocations: 109.8 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.8867, allocations: 33.7 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.8868, allocations: 84.14 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.8868, allocations: 3.906 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.8869, allocations: 37.69 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.887, allocations: 314.8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.8871, allocations: 31.98 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.8871, allocations: 46.55 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.8873, allocations: 92.16 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8873, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000257/0.8875, allocations: 155.2 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.8876, allocations: 33.7 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8876, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8876, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.8877, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8877, allocations: 4.062 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.8879, allocations: 31.97 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.8879, allocations: 15.98 kB / 1.17 GB, free: 15.13 MB / 0.9044 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.696e-05/0.888, allocations: 113.8 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.8881, allocations: 4 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.8881, allocations: 15.78 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8881, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8881, allocations: 4 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8881, allocations: 3.984 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.8882, allocations: 161.6 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8883, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.8883, allocations: 7.938 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8883, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.8883, allocations: 3.984 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8883, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8883, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.8884, allocations: 92.97 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.8885, allocations: 81.11 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.8885, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.8885, allocations: 3.984 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.8886, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.8886, allocations: 4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.8886, allocations: 87.27 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8886, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002144/0.8889, allocations: 16 kB / 1.171 GB, free: 14.44 MB / 0.9044 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.0003957/0.8893, allocations: 0.6357 MB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.8895, allocations: 127.3 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8895, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.8895, allocations: 16 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.8897, allocations: 13.25 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.8912, allocations: 1.388 MB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.8915, allocations: 0.6768 MB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.8915, allocations: 7.938 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.8915, allocations: 19.42 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.8915, allocations: 4 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.911, allocations: 2.024 MB / 1.176 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.674, allocations: 3.719 kB / 1.176 GB, free: 9.516 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > 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