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.015/0.015, allocations: 103.3 kB / 15.74 MB, free: 6.004 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.001965/0.001966, allocations: 191.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.408/2.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 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 4.097/4.097, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705/1.707, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.004136/1.712, allocations: 0.7527 MB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002984/1.715, allocations: 1.151 MB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/1.715, allocations: 1.75 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/1.715, allocations: 4.594 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/1.715, allocations: 10.5 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/1.716, allocations: 138.4 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/1.717, allocations: 127 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/1.717, allocations: 13.5 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/1.717, allocations: 53.25 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/1.717, allocations: 41.45 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/1.717, allocations: 15.19 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/1.717, allocations: 23.8 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/1.718, allocations: 18.48 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/1.718, allocations: 43.03 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/1.718, allocations: 116.1 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.718, allocations: 0 / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/1.718, allocations: 1.5 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.718, allocations: 0 / 1.09 GB, free: 3.664 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.0008897/1.719, allocations: 412.4 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/1.719, allocations: 9.406 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/1.719, allocations: 41.3 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/1.719, allocations: 6.938 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.72, allocations: 172.8 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/1.72, allocations: 4.594 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/1.72, allocations: 11.88 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/1.72, allocations: 76.05 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.72, allocations: 3.938 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/1.72, allocations: 2.016 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/1.72, allocations: 9.312 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/1.72, allocations: 43.8 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/1.721, allocations: 338.1 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/1.722, allocations: 58.42 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/1.722, allocations: 37.59 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/1.722, allocations: 0 / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/1.722, allocations: 84.69 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/1.722, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008311/1.723, allocations: 149.1 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/1.723, allocations: 53.16 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/1.724, allocations: 117.8 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/1.724, allocations: 32.5 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/1.724, allocations: 93.55 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/1.724, allocations: 20.28 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.724, allocations: 39.14 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.724, allocations: 328 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/1.724, allocations: 49.84 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/1.725, allocations: 82.64 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/1.725, allocations: 145.8 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.725, allocations: 0.7812 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009714/1.726, allocations: 213.5 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/1.726, allocations: 35.38 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.727, allocations: 1.094 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/1.727, allocations: 1.312 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/1.727, allocations: 19.91 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/1.727, allocations: 2.297 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/1.727, allocations: 30.39 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/1.727, allocations: 7.875 kB / 1.093 GB, free: 1.469 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 0.0001921/1.728, allocations: 130.2 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/1.728, allocations: 7.797 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/1.728, allocations: 14.7 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.728, allocations: 0.7188 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.728, allocations: 4.625 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.728, allocations: 1.547 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.729, allocations: 382.7 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.729, allocations: 1.516 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.729, allocations: 8.172 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.729, allocations: 1 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/1.729, allocations: 1.453 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.729, allocations: 1.516 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.729, allocations: 7.875 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/1.73, allocations: 208.5 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/1.73, allocations: 87.78 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/1.73, allocations: 3.062 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.73, allocations: 6.328 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.73, allocations: 18.16 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/1.73, allocations: 2.578 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.601e-05/1.73, allocations: 90.83 kB / 1.093 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.61e-07/1.73, allocations: 0 / 1.093 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005344/1.731, allocations: 25.58 kB / 1.093 GB, free: 0.6211 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.001339/1.732, allocations: 0.7535 MB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008481/1.733, allocations: 176.1 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.733, allocations: 0 / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/1.733, allocations: 37.72 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.0005216/1.734, allocations: 18.91 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/1.738, allocations: 1.686 MB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/1.739, allocations: 0.6879 MB / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001066/1.739, allocations: 5.562 kB / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.739, allocations: 21.52 kB / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.605e-06/1.739, allocations: 0 / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/1.773, allocations: 2.576 MB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.81, allocations: 11.47 kB / 1.099 GB, free: 13.2 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