Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 112.6 kB / 16.37 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.001508/0.001508, allocations: 196 kB / 17.31 MB, free: 5.613 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 69.8 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.312, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002131/0.3142, allocations: 0.7575 MB / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.316, allocations: 1.138 MB / 0.953 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.3161, allocations: 3.938 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.3161, allocations: 3.938 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.3162, allocations: 15.86 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.3167, allocations: 139.2 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3169, allocations: 115.8 kB / 0.9533 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.317, allocations: 23.97 kB / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.3171, allocations: 47.84 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3172, allocations: 55.73 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3172, allocations: 12 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.788e-05/0.3173, allocations: 23.98 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.3173, allocations: 8 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.3174, allocations: 43.84 kB / 0.9535 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3176, allocations: 115.7 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3176, allocations: 0 / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3176, allocations: 4 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3176, allocations: 0 / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006047/0.3182, allocations: 408.9 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3183, allocations: 12.03 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.3183, allocations: 8.844 kB / 0.954 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3185, allocations: 172.2 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3185, allocations: 8.375 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3185, allocations: 8.312 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3187, allocations: 70.22 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3187, allocations: 192 / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3187, allocations: 7.875 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3188, allocations: 0 / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3189, allocations: 43.95 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.3194, allocations: 336.7 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.3196, allocations: 62.55 kB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.3197, allocations: 32.97 kB / 0.9547 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3197, allocations: 0 / 0.9547 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.32, allocations: 95.27 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.32, allocations: 0 / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.3204, allocations: 137.6 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3205, allocations: 55.39 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3206, allocations: 117.8 kB / 0.9551 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.3206, allocations: 33.7 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.3207, allocations: 96.12 kB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.3207, allocations: 19.88 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.3208, allocations: 37.7 kB / 0.9553 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3209, allocations: 314.8 kB / 0.9556 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3211, allocations: 51.97 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3213, allocations: 88.25 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3216, allocations: 153.8 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3216, allocations: 0 / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003997/0.322, allocations: 207.2 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.322, allocations: 37.64 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.322, allocations: 4 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3221, allocations: 0 / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.3222, allocations: 15.92 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3222, allocations: 4 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.3224, allocations: 44.02 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.3224, allocations: 7.938 kB / 0.9561 GB, free: 2.629 MB / 0.7325 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,edge1.y,edge1.u,$PRE.edge1.u,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.0001081/0.3225, allocations: 123.7 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.3225, allocations: 11.89 kB / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.3226, allocations: 12.36 kB / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3226, allocations: 0 / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3226, allocations: 4 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3226, allocations: 4 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.3231, allocations: 382.6 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3231, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.3231, allocations: 4 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3231, allocations: 7.984 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3232, allocations: 4 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3232, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3232, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3235, allocations: 207.4 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.3235, allocations: 85.02 kB / 0.957 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3235, allocations: 4 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.3236, allocations: 7.984 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3237, allocations: 7.984 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3237, allocations: 7.938 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.3237, allocations: 95.27 kB / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3237, allocations: 0 / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002825/0.324, allocations: 24 kB / 0.9571 GB, free: 1.559 MB / 0.7325 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001543/0.3242, allocations: 103.2 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.3246, allocations: 179.5 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3246, allocations: 4.062 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3247, allocations: 43.91 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.325, allocations: 16.12 kB / 0.9574 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.3254, allocations: 162.1 kB / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3256, allocations: 0.6883 MB / 0.9582 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.3257, allocations: 15.92 kB / 0.9583 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.3257, allocations: 15.38 kB / 0.9583 GB, free: 272 kB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.3257, allocations: 0 / 0.9583 GB, free: 272 kB / 0.7325 GB Notification: Performance of Templates: time 0.003907/0.3296, allocations: 1.441 MB / 0.9597 GB, free: 14.84 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches