Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001394/0.001393, allocations: 168.7 kB / 15.95 MB, free: 204 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.942/2.942, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 11.66 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3822, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001175/0.3834, allocations: 467.1 kB / 1.058 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3855, allocations: 1.135 MB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.3856, allocations: 4 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.3857, allocations: 7.922 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.3858, allocations: 7.938 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.3864, allocations: 105.8 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3866, allocations: 99.75 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3867, allocations: 15.97 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3868, allocations: 35.92 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3869, allocations: 39.83 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.387, allocations: 4 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.387, allocations: 19.98 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.3871, allocations: 15.97 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.3871, allocations: 37.64 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.3873, allocations: 75.81 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.3873, allocations: 4 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.558e-06/0.3873, allocations: 0 / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3873, allocations: 3.938 kB / 1.06 GB, free: 3.191 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006389/0.388, allocations: 405.1 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.388, allocations: 8.031 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3881, allocations: 7.906 kB / 1.06 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3882, allocations: 167.1 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.3883, allocations: 11.95 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.3883, allocations: 11.98 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3885, allocations: 77.59 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3885, allocations: 0 / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3885, allocations: 0 / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3886, allocations: 0 / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.3887, allocations: 55.95 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.3894, allocations: 344.5 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3896, allocations: 66.48 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3897, allocations: 37.03 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3897, allocations: 0 / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.39, allocations: 103.4 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.39, allocations: 0 / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004726/0.3905, allocations: 161.4 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3906, allocations: 55.41 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3908, allocations: 121.8 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3908, allocations: 25.7 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.3909, allocations: 96.03 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3909, allocations: 19.8 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.3909, allocations: 4 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3911, allocations: 322.8 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3913, allocations: 59.97 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3914, allocations: 92.62 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3916, allocations: 93.61 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3916, allocations: 0 / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004162/0.392, allocations: 215.2 kB / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.3921, allocations: 33.7 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3921, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3921, allocations: 3.984 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.3922, allocations: 15.94 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3922, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3925, allocations: 55.92 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.3925, allocations: 11.98 kB / 1.063 GB, free: 308 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: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001017/0.3926, allocations: 123.2 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.3926, allocations: 3.906 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3927, allocations: 16.38 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3927, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3927, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3927, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.3932, allocations: 390.5 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3932, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.3932, allocations: 11.98 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3933, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3933, allocations: 8 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3933, allocations: 0 / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3933, allocations: 3.844 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.3936, allocations: 219.4 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3936, allocations: 85 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3937, allocations: 4 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.3938, allocations: 15.92 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3938, allocations: 8 kB / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3938, allocations: 3.984 kB / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.3939, allocations: 91.33 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3939, allocations: 7.938 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002552/0.3941, allocations: 24 kB / 1.064 GB, free: 15.21 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001891/0.3943, allocations: 109.3 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.3947, allocations: 187.3 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3947, allocations: 3.938 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3949, allocations: 43.97 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3952, allocations: 23.02 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.3956, allocations: 171.1 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.396, allocations: 0.6926 MB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.396, allocations: 7.984 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.3961, allocations: 11.44 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3961, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.004858/0.4009, allocations: 1.276 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches