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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001725/0.001725, allocations: 103.3 kB / 16.27 MB, free: 5.961 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.001945/0.001946, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.662/2.662, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 79.06 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.7005, allocations: 162.2 MB / 1.083 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001798/0.7024, allocations: 0.7419 MB / 1.084 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.7035, allocations: 1.152 MB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.7036, allocations: 0.5938 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.7036, allocations: 4.875 kB / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.7037, allocations: 15.06 kB / 1.085 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.7041, allocations: 144 kB / 1.085 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.7043, allocations: 118.3 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.7044, allocations: 20.7 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.7045, allocations: 49.03 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.7046, allocations: 41.95 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.7046, allocations: 10.09 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.7047, allocations: 24.95 kB / 1.085 GB, free: 164 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.7047, allocations: 13.02 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.7048, allocations: 43.81 kB / 1.085 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.705, allocations: 107.6 kB / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.705, allocations: 4.609 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.705, allocations: 3.938 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.705, allocations: 1.594 kB / 1.085 GB, free: 88 kB / 0.8262 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.0005965/0.7056, allocations: 414.4 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.7056, allocations: 10.62 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.7057, allocations: 10.41 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.7058, allocations: 169.8 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.7059, allocations: 8.516 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.7059, allocations: 6.812 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.7061, allocations: 63.97 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7061, allocations: 6.609 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.7061, allocations: 3.938 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7061, allocations: 1.406 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.7063, allocations: 48.31 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.7069, allocations: 341.7 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.7071, allocations: 66.5 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.7072, allocations: 34.03 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.7072, allocations: 1.188 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.7074, allocations: 95.17 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.7074, allocations: 0 / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004551/0.7079, allocations: 140.3 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.708, allocations: 57.91 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.7081, allocations: 117.5 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.7081, allocations: 29.39 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.7082, allocations: 102.2 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.7082, allocations: 14.95 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.7083, allocations: 40.08 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7084, allocations: 322.8 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.7086, allocations: 54.12 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.7088, allocations: 90.97 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.7091, allocations: 137 kB / 1.088 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7091, allocations: 1.875 kB / 1.088 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004549/0.7096, allocations: 208.5 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.7096, allocations: 38.56 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7096, allocations: 2.188 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7096, allocations: 1.438 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.7097, allocations: 12.05 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7098, allocations: 1.219 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.71, allocations: 35.69 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.71, allocations: 12.11 kB / 1.088 GB, free: 13.93 MB / 0.8419 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.0001019/0.7101, allocations: 125.7 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.7101, allocations: 8.484 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.7102, allocations: 10.44 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7102, allocations: 1.469 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7102, allocations: 0 / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7102, allocations: 4.844 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.7107, allocations: 380.4 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7107, allocations: 0 / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.7108, allocations: 12.22 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7108, allocations: 0.9062 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.7108, allocations: 5.953 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.7108, allocations: 5.5 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7108, allocations: 0 / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.7111, allocations: 209.2 kB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.7112, allocations: 88.45 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.7112, allocations: 0.7031 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.7113, allocations: 14.69 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.7114, allocations: 15.36 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.7114, allocations: 1.5 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.7114, allocations: 91.52 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.224e-06/0.7114, allocations: 0 / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002526/0.7117, allocations: 29.77 kB / 1.089 GB, free: 13.08 MB / 0.8419 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.0001376/0.7118, allocations: 101.9 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.7122, allocations: 184.5 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7122, allocations: 0 / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.7124, allocations: 43.52 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.7126, allocations: 17.19 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.713, allocations: 192.5 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.7134, allocations: 0.6891 MB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.7134, allocations: 11.88 kB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.7134, allocations: 0 / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of Templates: time 0.0029/0.7163, allocations: 1.277 MB / 1.091 GB, free: 11.88 MB / 0.8419 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=400 -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/jenkins1/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