Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001086/0.001086, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00124/0.00124, allocations: 165 kB / 24.17 MB, free: 332 kB / 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.049/1.049, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.034/2.034, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.22e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002189/0.002221, allocations: 0.7195 MB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.003983, allocations: 1.24 MB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.004035, allocations: 0 / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.004068, allocations: 3.938 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.004158, allocations: 17.5 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.004783, allocations: 208.9 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.005034, allocations: 173.8 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.005123, allocations: 11.98 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.005274, allocations: 88.53 kB / 0.7625 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.00541, allocations: 53.25 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.005445, allocations: 16 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.005543, allocations: 23.98 kB / 0.7626 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.005568, allocations: 19.91 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.005633, allocations: 49.16 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.005848, allocations: 135.7 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005852, allocations: 0 / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.005854, allocations: 1.25 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.005858, allocations: 0 / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004594/0.006318, allocations: 328.2 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.00636, allocations: 12.03 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.006409, allocations: 17.61 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.00651, allocations: 109.8 kB / 0.7632 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.006526, allocations: 4.906 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.006554, allocations: 17.11 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.006635, allocations: 38.25 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.006644, allocations: 1.375 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.006651, allocations: 384 / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006657, allocations: 384 / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.006679, allocations: 17.14 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.007, allocations: 188.2 kB / 0.7635 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.007068, allocations: 26.56 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.007086, allocations: 13.55 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.007093, allocations: 0 / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.007222, allocations: 88.08 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.007223, allocations: 0.75 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001614/0.007385, allocations: 69.61 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.007428, allocations: 57.52 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.007514, allocations: 118.7 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.007542, allocations: 33.7 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.007594, allocations: 92.08 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.007611, allocations: 11.94 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.007694, allocations: 53.61 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.007795, allocations: 316.5 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.007901, allocations: 95.38 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.00802, allocations: 139.6 kB / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.008161, allocations: 134.8 kB / 0.7646 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008163, allocations: 4 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002699/0.008433, allocations: 256.3 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.008487, allocations: 63.39 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.008497, allocations: 11.92 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.008512, allocations: 3 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.401e-05/0.008536, allocations: 11.94 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.008539, allocations: 0 / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.008744, allocations: 39.92 kB / 0.765 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.00877, allocations: 7.984 kB / 0.765 GB, free: 1.273 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.266e-05/0.008862, allocations: 127.3 kB / 0.7651 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.008877, allocations: 7.984 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.008908, allocations: 16.38 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.008911, allocations: 1.406 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.008913, allocations: 0 / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008916, allocations: 0 / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.162e-05/0.009008, allocations: 77.88 kB / 0.7652 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009009, allocations: 1.281 kB / 0.7652 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.00902, allocations: 0 / 0.7652 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009023, allocations: 0 / 0.7652 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.009029, allocations: 3.984 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.009034, allocations: 8.594 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.009037, allocations: 7.875 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.009139, allocations: 78.05 kB / 0.7653 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.009148, allocations: 8.609 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.00916, allocations: 0 / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.009184, allocations: 4.938 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.009218, allocations: 11.92 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.009225, allocations: 4 kB / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.134e-05/0.009246, allocations: 19.92 kB / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009246, allocations: 0 / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000207/0.009453, allocations: 32 kB / 0.7654 GB, free: 0.8281 MB / 0.7136 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001478/0.009601, allocations: 84.34 kB / 0.7655 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.009864, allocations: 258.2 kB / 0.7657 GB, free: 460 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.009868, allocations: 0 / 0.7657 GB, free: 460 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.009907, allocations: 24.83 kB / 0.7658 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.01007, allocations: 24.39 kB / 0.7658 GB, free: 408 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.01037, allocations: 149.1 kB / 0.7659 GB, free: 228 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.01041, allocations: 64.84 kB / 0.766 GB, free: 144 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.01044, allocations: 4 kB / 0.766 GB, free: 140 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.01057, allocations: 87.27 kB / 0.7661 GB, free: 52 kB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.01057, allocations: 0.9688 kB / 0.7661 GB, free: 52 kB / 0.7136 GB Notification: Performance of Templates: time 0.004122/0.01469, allocations: 2.221 MB / 0.7683 GB, free: 13.96 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.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.2177408477291465]