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.001354/0.001354, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001052/0.001052, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9914/0.9914, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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 1.889/1.889, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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.885e-06/2.885e-06, allocations: 0.9844 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.114e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001785/0.001816, allocations: 0.6227 MB / 0.8122 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003091, allocations: 1.164 MB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.003136, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.003165, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.019e-05/0.003235, allocations: 3.938 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.0037, allocations: 124.8 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.003846, allocations: 92.69 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.003931, allocations: 3.984 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.004013, allocations: 52.75 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.004105, allocations: 23.95 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.004126, allocations: 8 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-05/0.004188, allocations: 20.86 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.00421, allocations: 4 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.004256, allocations: 25.22 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.004417, allocations: 79.77 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.00442, allocations: 0 / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004421, allocations: 5.688 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.004426, allocations: 0 / 0.8137 GB, free: 15.5 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.0004465/0.004873, allocations: 398.3 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.004918, allocations: 8.031 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.004973, allocations: 8.938 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.005095, allocations: 113.8 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.00511, allocations: 4.375 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.005126, allocations: 4.375 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.005214, allocations: 39.31 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.005221, allocations: 192 / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005231, allocations: 4.359 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.00524, allocations: 6.188 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.005264, allocations: 7.938 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.005576, allocations: 283.7 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/0.00562, allocations: 27.06 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.005633, allocations: 9.219 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-06/0.005637, allocations: 0 / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.932e-05/0.005726, allocations: 72.98 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.005727, allocations: 0 / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001686/0.005896, allocations: 55.09 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.005934, allocations: 55.41 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.006031, allocations: 161.9 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.006052, allocations: 29.7 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.006106, allocations: 139.4 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.006116, allocations: 4.688 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.006164, allocations: 35.36 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.006284, allocations: 498 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.006348, allocations: 53.69 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.006416, allocations: 88.67 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.006492, allocations: 84.75 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006494, allocations: 0.625 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001762/0.00667, allocations: 169.7 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.006707, allocations: 49.5 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.006712, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.006728, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.006745, allocations: 8.5 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.00675, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.006874, allocations: 17.14 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.006889, allocations: 11.98 kB / 0.8161 GB, free: 12.85 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 9.075e-05/0.00698, allocations: 157.5 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.006993, allocations: 8.25 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.007018, allocations: 8.188 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.007021, allocations: 0.8125 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.007026, allocations: 4 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.00703, allocations: 0.9375 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.881e-05/0.007109, allocations: 120.6 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007111, allocations: 0 / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-06/0.007115, allocations: 1.344 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007117, allocations: 4 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.007124, allocations: 3.938 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.007126, allocations: 4.859 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007128, allocations: 240 / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.811e-05/0.007226, allocations: 96.31 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.007232, allocations: 2.125 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.007243, allocations: 3.938 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.007253, allocations: 4 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.007286, allocations: 7.984 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.007291, allocations: 0 / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.007337, allocations: 127.1 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007338, allocations: 0.5938 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001496/0.007487, allocations: 23.38 kB / 0.8166 GB, free: 12.22 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.0001536/0.007641, allocations: 99.23 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.007864, allocations: 144.7 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.007866, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.007895, allocations: 19.67 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.008093, allocations: 12.42 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.00841, allocations: 126.9 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.008444, allocations: 55.22 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.008465, allocations: 4.594 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.008484, allocations: 13.81 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.008484, allocations: 0 / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.003298/0.01178, allocations: 1.261 MB / 0.8183 GB, free: 10.46 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1523567689582705]