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.0009801/0.0009801, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001107/0.001107, allocations: 165 kB / 23.02 MB, free: 1.543 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.084/1.084, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.184/2.184, allocations: 429.5 MB / 0.6733 GB, free: 4.02 MB / 0.6355 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 2.645e-06/2.645e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.159e-05, allocations: 9.062 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00149/0.001521, allocations: 0.6741 MB / 0.8788 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.002785, allocations: 1.229 MB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.002826, allocations: 8.688 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.002856, allocations: 0 / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.002931, allocations: 19.56 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.003446, allocations: 212.7 kB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.003624, allocations: 169.2 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.003722, allocations: 11.97 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.00383, allocations: 91.88 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.003936, allocations: 48.5 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.003966, allocations: 16.75 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.41e-05/0.00403, allocations: 27.98 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.004053, allocations: 17.02 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.004125, allocations: 47.95 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.004317, allocations: 135.6 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00432, allocations: 0.6562 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.004321, allocations: 0 / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.004325, allocations: 1.219 kB / 0.8808 GB, free: 3.605 MB / 0.8386 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.0004483/0.004774, allocations: 471.8 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.004812, allocations: 8.031 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.004873, allocations: 13.86 kB / 0.8813 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.004981, allocations: 112.6 kB / 0.8814 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.005002, allocations: 8.312 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.005029, allocations: 17.39 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.005136, allocations: 42.23 kB / 0.8815 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.005148, allocations: 4.188 kB / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.005162, allocations: 1.5 kB / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.005173, allocations: 384 / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.005201, allocations: 11.92 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.005617, allocations: 332.8 kB / 0.8818 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.005695, allocations: 39 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.005718, allocations: 16.8 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.005725, allocations: 3.938 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.005839, allocations: 88.41 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.00584, allocations: 0 / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002198/0.00606, allocations: 97.56 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.006098, allocations: 51.41 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.006197, allocations: 181.8 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.006224, allocations: 33.7 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.006283, allocations: 138.8 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.006299, allocations: 11.95 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.006367, allocations: 59.33 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.006476, allocations: 497.2 kB / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.006593, allocations: 111.4 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.006715, allocations: 166.1 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.006851, allocations: 167.3 kB / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006853, allocations: 1.156 kB / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003917/0.007245, allocations: 321.6 kB / 0.8837 GB, free: 356 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.00729, allocations: 67.39 kB / 0.8838 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.007296, allocations: 0 / 0.8838 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.007316, allocations: 128 / 0.8838 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.007338, allocations: 8 kB / 0.8838 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.007345, allocations: 3.984 kB / 0.8838 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.007522, allocations: 39.92 kB / 0.8838 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.007544, allocations: 15.98 kB / 0.8838 GB, free: 208 kB / 0.8386 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 8.78e-05/0.007632, allocations: 168.5 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.007645, allocations: 7.938 kB / 0.884 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.007677, allocations: 12.44 kB / 0.884 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.007681, allocations: 7.984 kB / 0.884 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.007685, allocations: 0 / 0.884 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.007688, allocations: 0 / 0.884 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.007797, allocations: 136.5 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.007799, allocations: 0 / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.007806, allocations: 0 / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007809, allocations: 0 / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.007819, allocations: 7.938 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.00782, allocations: 4 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.007822, allocations: 3.984 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.007957, allocations: 112.3 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.007969, allocations: 7.938 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.007983, allocations: 11.94 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.007998, allocations: 0 / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.008041, allocations: 11.98 kB / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.008047, allocations: 64 / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.008097, allocations: 135.2 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008097, allocations: 0 / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001693/0.008266, allocations: 28 kB / 0.8844 GB, free: 15.49 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 0.0001342/0.0084, allocations: 99.25 kB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.008655, allocations: 281.8 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008657, allocations: 0 / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.008691, allocations: 31.61 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.00888, allocations: 19.03 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.009187, allocations: 162.7 kB / 0.885 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.009219, allocations: 59.34 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.009241, allocations: 12.11 kB / 0.8851 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.009262, allocations: 12.5 kB / 0.8851 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.009263, allocations: 0 / 0.8851 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.003714/0.01298, allocations: 2.058 MB / 0.8871 GB, free: 12.73 MB / 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.72589479200542]