Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.599/1.599, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.096/3.096, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.645e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002073/0.002109, allocations: 0.6099 MB / 0.8114 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.004094, allocations: 1.145 MB / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.004146, allocations: 0 / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.004179, allocations: 4.719 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.004265, allocations: 0 / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.004875, allocations: 129.2 kB / 0.8127 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.005108, allocations: 83.83 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.005223, allocations: 5.031 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.005387, allocations: 51.89 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.005509, allocations: 24.73 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.005549, allocations: 8 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.005641, allocations: 20 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.005669, allocations: 5.672 kB / 0.8129 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.005744, allocations: 23.97 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.006034, allocations: 103.7 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.006038, allocations: 0 / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.163e-06/0.006039, allocations: 1.531 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.006045, allocations: 0 / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007731/0.006818, allocations: 398 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.006874, allocations: 8.031 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/0.00696, allocations: 14.27 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.007135, allocations: 108.6 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.007163, allocations: 8.375 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.007187, allocations: 4.375 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.007334, allocations: 40 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.007346, allocations: 192 / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.007363, allocations: 4.375 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.00737, allocations: 384 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.007429, allocations: 15.86 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.00798, allocations: 281 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.008072, allocations: 31.06 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.008095, allocations: 9.375 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.008111, allocations: 4.062 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.00828, allocations: 72.88 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.008281, allocations: 0 / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002889/0.00857, allocations: 72.27 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.008632, allocations: 51.41 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.008813, allocations: 165.9 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.008848, allocations: 29.7 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.00896, allocations: 138.8 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.008974, allocations: 4 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.009058, allocations: 39.36 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002999/0.009358, allocations: 492.8 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.009482, allocations: 73.67 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.009851, allocations: 97.22 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.01001, allocations: 90.41 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01001, allocations: 320 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003465/0.01036, allocations: 197.6 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.01041, allocations: 41.64 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01041, allocations: 0.9062 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.01044, allocations: 7.938 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.927e-05/0.01046, allocations: 5.156 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01047, allocations: 3.984 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.01064, allocations: 17.08 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.01066, allocations: 4 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.00014/0.0108, allocations: 165.4 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.01082, allocations: 7.922 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.01085, allocations: 3.688 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01085, allocations: 4.5 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01086, allocations: 0.8438 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01086, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.01099, allocations: 122.7 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01099, allocations: 0 / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-06/0.011, allocations: 4 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.011, allocations: 0 / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.01101, allocations: 3.938 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01101, allocations: 0 / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01101, allocations: 0.5312 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.01116, allocations: 96.33 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.01117, allocations: 10.83 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.01118, allocations: 3.938 kB / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.0112, allocations: 0 / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.01124, allocations: 7.984 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01124, allocations: 4 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.226e-05/0.01132, allocations: 127.2 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01132, allocations: 5.656 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002077/0.01153, allocations: 19.94 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001745/0.01171, allocations: 99.25 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.012, allocations: 173.2 kB / 0.8162 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01201, allocations: 0.5625 kB / 0.8162 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/0.01204, allocations: 13.66 kB / 0.8162 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01225, allocations: 24.09 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.01258, allocations: 126.2 kB / 0.8164 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.235e-05/0.01265, allocations: 68.62 kB / 0.8164 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.01267, allocations: 0 / 0.8164 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.01269, allocations: 12.5 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.01269, allocations: 0.7812 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.004543/0.01723, allocations: 1.157 MB / 0.8176 GB, free: 10.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.247735848999582]