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.001249/0.001249, allocations: 79.75 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001453/0.001453, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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.49/1.49, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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 2.967/2.967, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 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.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 2.304e-06/2.304e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.137e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001757/0.001788, allocations: 0.6492 MB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.003604, allocations: 1.217 MB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.003658, allocations: 0 / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.003691, allocations: 3.938 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.003777, allocations: 7.922 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.004525, allocations: 221.9 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.004777, allocations: 171.7 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.00488, allocations: 8 kB / 0.9837 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.005047, allocations: 95.86 kB / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.00519, allocations: 55.78 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.005235, allocations: 16 kB / 0.9838 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.005327, allocations: 27.98 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.005353, allocations: 15.92 kB / 0.9839 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.005462, allocations: 59.89 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.005745, allocations: 175.6 kB / 0.9841 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.005752, allocations: 3.984 kB / 0.9841 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.005753, allocations: 0 / 0.9841 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.005757, allocations: 0 / 0.9841 GB, free: 9.223 MB / 0.9356 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.0005896/0.006347, allocations: 353.6 kB / 0.9844 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.006387, allocations: 12.03 kB / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.006453, allocations: 8.891 kB / 0.9844 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.006568, allocations: 113.7 kB / 0.9845 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.006591, allocations: 12.38 kB / 0.9846 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.006625, allocations: 8.375 kB / 0.9846 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.006751, allocations: 46.25 kB / 0.9846 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.006763, allocations: 4.125 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.006775, allocations: 8.297 kB / 0.9846 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.00678, allocations: 4.375 kB / 0.9846 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.006827, allocations: 15.94 kB / 0.9846 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.007327, allocations: 276.5 kB / 0.9849 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.007422, allocations: 30.56 kB / 0.9849 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.007457, allocations: 16.84 kB / 0.985 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.007471, allocations: 11.94 kB / 0.985 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.007609, allocations: 79.41 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.007611, allocations: 0 / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002694/0.00788, allocations: 101.6 kB / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.007933, allocations: 59.33 kB / 0.9852 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.008037, allocations: 118.1 kB / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.008076, allocations: 33.7 kB / 0.9853 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.008155, allocations: 92.08 kB / 0.9854 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.008175, allocations: 19.92 kB / 0.9854 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.539e-05/0.008271, allocations: 53.62 kB / 0.9855 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.008425, allocations: 318.8 kB / 0.9858 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.008607, allocations: 123.4 kB / 0.9859 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.008811, allocations: 151.7 kB / 0.9861 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.009024, allocations: 159.6 kB / 0.9862 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009025, allocations: 0 / 0.9862 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005039/0.009529, allocations: 324.2 kB / 0.9865 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.009596, allocations: 71.52 kB / 0.9866 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.0096, allocations: 0 / 0.9866 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.00962, allocations: 4 kB / 0.9866 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.009664, allocations: 7.922 kB / 0.9866 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.00967, allocations: 4 kB / 0.9866 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.01004, allocations: 51.89 kB / 0.9867 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.01007, allocations: 15.98 kB / 0.9867 GB, free: 6.277 MB / 0.9356 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 0.000121/0.01019, allocations: 124.8 kB / 0.9868 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.01021, allocations: 11.89 kB / 0.9868 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.01025, allocations: 4.438 kB / 0.9868 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01026, allocations: 4 kB / 0.9868 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01026, allocations: 0 / 0.9868 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01026, allocations: 0 / 0.9868 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.01042, allocations: 125.2 kB / 0.9869 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.01042, allocations: 4 kB / 0.9869 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.01043, allocations: 3.938 kB / 0.9869 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.01044, allocations: 3.938 kB / 0.9869 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01045, allocations: 8 kB / 0.9869 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.01045, allocations: 4.094 kB / 0.987 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01046, allocations: 3.938 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.01064, allocations: 105.1 kB / 0.9871 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.01065, allocations: 3.938 kB / 0.9871 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01068, allocations: 8 kB / 0.9871 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.0107, allocations: 11.98 kB / 0.9871 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.01076, allocations: 4 kB / 0.9871 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.01076, allocations: 0 / 0.9871 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.048e-05/0.01084, allocations: 91.27 kB / 0.9872 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01084, allocations: 0 / 0.9872 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002524/0.01109, allocations: 39.94 kB / 0.9872 GB, free: 5.672 MB / 0.9356 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.0002082/0.0113, allocations: 99.77 kB / 0.9873 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.01171, allocations: 278.1 kB / 0.9876 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01172, allocations: 0 / 0.9876 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.01177, allocations: 24 kB / 0.9876 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01203, allocations: 16.17 kB / 0.9876 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.01242, allocations: 161.5 kB / 0.9878 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.01249, allocations: 75.52 kB / 0.9878 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.01252, allocations: 4 kB / 0.9878 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.01254, allocations: 12.5 kB / 0.9878 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.01254, allocations: 0 / 0.9878 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of Templates: time 0.005479/0.01802, allocations: 2.041 MB / 0.9898 GB, free: 2.934 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.335755489766598]