Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.008246/0.008246, allocations: 103.3 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.001959/0.001959, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.84 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9691/0.9705, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002011/0.9725, allocations: 0.752 MB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.9741, allocations: 1.151 MB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.9741, allocations: 0 / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.9742, allocations: 5.109 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.9743, allocations: 23.73 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.9749, allocations: 131.9 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.9751, allocations: 123.1 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.9752, allocations: 19.94 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.9753, allocations: 44.61 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.9754, allocations: 47.16 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.9754, allocations: 10.75 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.591e-05/0.9755, allocations: 27.67 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.9755, allocations: 14.16 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.9756, allocations: 43.41 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.9758, allocations: 119.6 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9759, allocations: 0.6094 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9759, allocations: 5.156 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.9759, allocations: 0 / 1.09 GB, free: 3.652 MB / 0.8575 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.0005576/0.9764, allocations: 412.3 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9765, allocations: 9.062 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.715e-05/0.9765, allocations: 34.28 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.9766, allocations: 6.766 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.493e-05/0.9767, allocations: 172.7 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.9767, allocations: 8.234 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.9767, allocations: 8.641 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.9769, allocations: 68.25 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9769, allocations: 7.875 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.9769, allocations: 1.641 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.977, allocations: 1.031 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.9772, allocations: 44.48 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.9776, allocations: 341.2 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.9778, allocations: 66.25 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.9779, allocations: 34.47 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.978, allocations: 3.938 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.9782, allocations: 87.89 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.9782, allocations: 0 / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004496/0.9787, allocations: 144.8 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.9787, allocations: 54.11 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.9788, allocations: 121.1 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.9788, allocations: 28.89 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.9789, allocations: 101.7 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.9789, allocations: 20.38 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.979, allocations: 39.17 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.9791, allocations: 323.7 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.9792, allocations: 53.53 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.9794, allocations: 87.16 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.9797, allocations: 137.5 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9797, allocations: 4.688 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004947/0.9802, allocations: 205.2 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.9803, allocations: 39.23 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.9803, allocations: 1.375 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9803, allocations: 2.719 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.9804, allocations: 14.36 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.9804, allocations: 6.453 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.9807, allocations: 34.7 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.9807, allocations: 11.83 kB / 1.093 GB, free: 1.453 MB / 0.8575 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.9808, allocations: 123.9 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.9808, allocations: 7.625 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.9809, allocations: 11.3 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9809, allocations: 0.5625 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9809, allocations: 5.312 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9809, allocations: 4.5 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.9813, allocations: 378.7 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9813, allocations: 1.031 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.9814, allocations: 9 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9814, allocations: 0 / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.9814, allocations: 5.719 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9814, allocations: 1.609 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9814, allocations: 8.812 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.9817, allocations: 208.7 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.9818, allocations: 83.91 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.9818, allocations: 1.281 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.9819, allocations: 11.77 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.9819, allocations: 14 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.982, allocations: 7.234 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.982, allocations: 90.66 kB / 1.093 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.982, allocations: 0 / 1.093 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002705/0.9823, allocations: 25.34 kB / 1.094 GB, free: 0.6133 MB / 0.8575 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 (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.0006412/0.9829, allocations: 0.749 MB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.9834, allocations: 175.9 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9834, allocations: 0 / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.9835, allocations: 38.17 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.9838, allocations: 17.7 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.9859, allocations: 1.69 MB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.9862, allocations: 0.6875 MB / 1.097 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.9862, allocations: 6.188 kB / 1.097 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.9863, allocations: 25.27 kB / 1.097 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.9863, allocations: 4 kB / 1.097 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/1.009, allocations: 2.614 MB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.675, allocations: 8.734 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches