Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002368/0.002368, allocations: 211.8 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.336/3.336, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 63.41 kB / 1.186 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3732, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002168/0.3754, allocations: 0.8087 MB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.3776, allocations: 1.495 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3777, allocations: 3.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3779, allocations: 15.8 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/0.3779, allocations: 35.72 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.3793, allocations: 0.5182 MB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007262/0.3801, allocations: 479.2 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3802, allocations: 29.64 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.3805, allocations: 179.7 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.3809, allocations: 159.5 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.381, allocations: 44 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3812, allocations: 55.98 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.3812, allocations: 43.86 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3815, allocations: 155.5 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.382, allocations: 415 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.382, allocations: 0 / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/0.382, allocations: 0 / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.382, allocations: 3.938 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009647/0.383, allocations: 0.576 MB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.383, allocations: 12.03 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.3831, allocations: 38.75 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3832, allocations: 40.83 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.3836, allocations: 198.7 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.3836, allocations: 24.3 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.3837, allocations: 28.38 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.384, allocations: 154 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.384, allocations: 3.938 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.384, allocations: 8 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.384, allocations: 0 / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3842, allocations: 79.94 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009891/0.3852, allocations: 0.5971 MB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3854, allocations: 90.53 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.3855, allocations: 40.84 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3855, allocations: 0 / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.3859, allocations: 163.4 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.3859, allocations: 0 / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005369/0.3864, allocations: 243 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.3865, allocations: 59.39 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3867, allocations: 198.1 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.3868, allocations: 37.7 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3869, allocations: 124.7 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.3869, allocations: 43.7 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.3872, allocations: 113.6 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3874, allocations: 330.8 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.3878, allocations: 304.4 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.3884, allocations: 386.7 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.389, allocations: 415.4 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.389, allocations: 0 / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00123/0.3902, allocations: 0.7871 MB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.3903, allocations: 164.4 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3904, allocations: 4 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3904, allocations: 4 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.94e-05/0.3904, allocations: 11.88 kB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3904, allocations: 4 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.3912, allocations: 140 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.3913, allocations: 36.06 kB / 1.373 GB, free: 3.934 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0002123/0.3915, allocations: 163 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3915, allocations: 19.84 kB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.3916, allocations: 21.8 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3916, allocations: 4 kB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3916, allocations: 0 / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.3916, allocations: 0 / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.3922, allocations: 478.9 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3922, allocations: 0 / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.3922, allocations: 4 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3922, allocations: 0 / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3923, allocations: 7.984 kB / 1.374 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3923, allocations: 8 kB / 1.374 GB, free: 3.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3923, allocations: 0 / 1.374 GB, free: 3.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3926, allocations: 285.6 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.3927, allocations: 19.84 kB / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3927, allocations: 4 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3928, allocations: 7.984 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.3928, allocations: 19.97 kB / 1.374 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.3929, allocations: 15.98 kB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001055/0.393, allocations: 120.2 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.393, allocations: 0 / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000397/0.3934, allocations: 79.94 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007783/0.3941, allocations: 0.83 MB / 1.375 GB, free: 1.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009567/0.3951, allocations: 0.6953 MB / 1.376 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3951, allocations: 0 / 1.376 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3952, allocations: 63.91 kB / 1.376 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.3957, allocations: 56.53 kB / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.4008, allocations: 3.626 MB / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.401, allocations: 120.1 kB / 1.379 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.491e-05/0.4011, allocations: 17.48 kB / 1.379 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.4012, allocations: 59.36 kB / 1.379 GB, free: 12.72 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/0.4012, allocations: 0 / 1.379 GB, free: 12.72 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.4405, allocations: 7.532 MB / 1.387 GB, free: 5.422 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 6.203 kB / 1.387 GB, free: 5.422 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.917184264864773]