Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001436/0.001436, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001418/0.001418, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9552/0.9552, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.411/2.411, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8898 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.075e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001252/0.001273, allocations: 0.6827 MB / 0.8904 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002434, allocations: 1.228 MB / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.002476, allocations: 0 / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.002503, allocations: 3.938 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.002568, allocations: 15.86 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.003001, allocations: 203.5 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.00316, allocations: 183.6 kB / 0.892 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.223e-05/0.003232, allocations: 8 kB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.003346, allocations: 95.86 kB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.003442, allocations: 47.91 kB / 0.8922 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.003468, allocations: 16 kB / 0.8922 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.003529, allocations: 27.98 kB / 0.8922 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.003546, allocations: 7.938 kB / 0.8922 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.003592, allocations: 55.94 kB / 0.8923 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.003735, allocations: 135.6 kB / 0.8924 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003737, allocations: 0 / 0.8924 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003738, allocations: 4 kB / 0.8924 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.003741, allocations: 0 / 0.8924 GB, free: 7.062 MB / 0.8542 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.0003372/0.004078, allocations: 471.8 kB / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.004112, allocations: 8.625 kB / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.004149, allocations: 12.89 kB / 0.8929 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.043e-05/0.00421, allocations: 112.6 kB / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004221, allocations: 8.375 kB / 0.893 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.004244, allocations: 12.36 kB / 0.893 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.401e-05/0.004308, allocations: 42.25 kB / 0.893 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004315, allocations: 4.125 kB / 0.893 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.00432, allocations: 384 / 0.893 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.004323, allocations: 4.375 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.403e-05/0.004337, allocations: 11.92 kB / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.004596, allocations: 304.3 kB / 0.8933 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.004647, allocations: 39.05 kB / 0.8934 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.00466, allocations: 11.69 kB / 0.8934 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.004665, allocations: 3.938 kB / 0.8934 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.144e-05/0.004747, allocations: 85.03 kB / 0.8935 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.004747, allocations: 0 / 0.8935 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001415/0.004889, allocations: 93.56 kB / 0.8936 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.004916, allocations: 63.34 kB / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.004986, allocations: 173.9 kB / 0.8938 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.005005, allocations: 33.7 kB / 0.8938 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.005055, allocations: 142.8 kB / 0.894 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.005067, allocations: 11.91 kB / 0.894 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.005125, allocations: 55.33 kB / 0.894 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.005239, allocations: 0.4923 MB / 0.8945 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.005312, allocations: 99.36 kB / 0.8946 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.005395, allocations: 149.8 kB / 0.8947 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/0.00549, allocations: 154.2 kB / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005492, allocations: 0 / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.00573, allocations: 308.2 kB / 0.8952 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.005768, allocations: 71.33 kB / 0.8952 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.005772, allocations: 0 / 0.8952 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005781, allocations: 4 kB / 0.8953 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-05/0.005796, allocations: 4.062 kB / 0.8953 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.005799, allocations: 8.125 kB / 0.8953 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.005944, allocations: 39.91 kB / 0.8953 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.005961, allocations: 12 kB / 0.8953 GB, free: 3.742 MB / 0.8542 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 7.212e-05/0.006033, allocations: 172.5 kB / 0.8955 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.006046, allocations: 15.89 kB / 0.8955 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.006067, allocations: 12.38 kB / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006068, allocations: 0 / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.00607, allocations: 0 / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.006073, allocations: 4 kB / 0.8955 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.363e-05/0.006146, allocations: 105.2 kB / 0.8956 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006149, allocations: 4 kB / 0.8956 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-06/0.006153, allocations: 3.984 kB / 0.8956 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006155, allocations: 0 / 0.8956 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.00616, allocations: 4 kB / 0.8956 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006161, allocations: 4 kB / 0.8956 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.006164, allocations: 3.938 kB / 0.8956 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.891e-05/0.006252, allocations: 108.4 kB / 0.8957 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.006259, allocations: 7.938 kB / 0.8957 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.006266, allocations: 0 / 0.8957 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.006278, allocations: 8 kB / 0.8957 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.006302, allocations: 15.86 kB / 0.8958 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.006307, allocations: 4 kB / 0.8958 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.006341, allocations: 131.2 kB / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006341, allocations: 0 / 0.8959 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001497/0.006491, allocations: 32 kB / 0.8959 GB, free: 3.059 MB / 0.8542 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 9.785e-05/0.006589, allocations: 103.2 kB / 0.896 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.00678, allocations: 266 kB / 0.8963 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006781, allocations: 4.062 kB / 0.8963 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.358e-05/0.006805, allocations: 23.67 kB / 0.8963 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.006954, allocations: 16.53 kB / 0.8963 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.007175, allocations: 166.2 kB / 0.8965 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.007205, allocations: 59.34 kB / 0.8965 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.007225, allocations: 4 kB / 0.8965 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.007322, allocations: 102.2 kB / 0.8966 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.007323, allocations: 4 kB / 0.8966 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of Templates: time 0.003291/0.01061, allocations: 2.239 MB / 0.8988 GB, free: 28 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.319660492241383]