Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001362/0.001362, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.184/3.184, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003838, allocations: 13.78 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3813, allocations: 159.6 MB / 1.058 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001108/0.3825, allocations: 377.9 kB / 1.058 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3845, allocations: 1.17 MB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.3846, allocations: 4 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3846, allocations: 3.938 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.3847, allocations: 11.91 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007751/0.3855, allocations: 186.4 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.3857, allocations: 135.7 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.3858, allocations: 4 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3859, allocations: 63.88 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.386, allocations: 43.88 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.3861, allocations: 11.94 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.3862, allocations: 31.92 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.3862, allocations: 4 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3863, allocations: 41.7 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3865, allocations: 99.75 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3865, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3865, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3865, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005445/0.3871, allocations: 414.8 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3871, allocations: 8.031 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.3872, allocations: 12 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3873, allocations: 178.9 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.3874, allocations: 4 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.3874, allocations: 11.95 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3876, allocations: 49.69 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3876, allocations: 0 / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3876, allocations: 0 / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3876, allocations: 3.984 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.3877, allocations: 12 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.3883, allocations: 364.6 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.3884, allocations: 30.56 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.3884, allocations: 12.86 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3885, allocations: 4 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.3887, allocations: 83.34 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3887, allocations: 4 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002809/0.389, allocations: 101.6 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.389, allocations: 59.39 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3891, allocations: 117.9 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.3892, allocations: 34.08 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.3892, allocations: 84.33 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.3893, allocations: 19.8 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.3893, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3894, allocations: 330.7 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3896, allocations: 59.97 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.3897, allocations: 92.19 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3899, allocations: 111.4 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3899, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004076/0.3903, allocations: 260.9 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.3904, allocations: 71.39 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3904, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3904, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/0.3904, allocations: 7.938 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3904, allocations: 0 / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.3908, allocations: 82.34 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.3909, allocations: 15.98 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.391, allocations: 129.7 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.391, allocations: 7.906 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.3911, allocations: 12.38 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3911, allocations: 0 / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3911, allocations: 0 / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3911, allocations: 64 / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.3912, allocations: 185.6 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3913, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-06/0.3913, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3913, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3913, allocations: 8 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3913, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3913, allocations: 3.938 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.3915, allocations: 113 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.3915, allocations: 88.95 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3915, allocations: 0 / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.3916, allocations: 4.094 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3916, allocations: 11.92 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.3916, allocations: 8 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.3917, allocations: 87.28 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3917, allocations: 0 / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002412/0.3919, allocations: 31.98 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.3921, allocations: 107.1 kB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.3925, allocations: 242.8 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3925, allocations: 4.188 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.3926, allocations: 31.97 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.3928, allocations: 15.98 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3932, allocations: 159.4 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.3935, allocations: 0.6965 MB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.3935, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.3936, allocations: 11.44 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3936, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.00523/0.3988, allocations: 1.678 MB / 1.066 GB, free: 12.43 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches