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.00156/0.00156, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001727/0.001727, allocations: 210.8 kB / 23.01 MB, free: 4.57 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.124/3.124, allocations: 0.49 GB / 0.7958 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 68.69 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3306, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001832/0.3325, allocations: 0.6561 MB / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3341, allocations: 1.229 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.3341, allocations: 3.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.3341, allocations: 3.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.3342, allocations: 7.875 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.3349, allocations: 231 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.3351, allocations: 167.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.3352, allocations: 11.98 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3353, allocations: 67.89 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3354, allocations: 59.86 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.3355, allocations: 16 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-05/0.3356, allocations: 35.92 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3356, allocations: 23.91 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.3357, allocations: 51.91 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3359, allocations: 151.5 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3359, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3359, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3359, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 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.0005715/0.3365, allocations: 365.5 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3365, allocations: 12.03 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.3366, allocations: 8.938 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3367, allocations: 114.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3367, allocations: 4.375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.3368, allocations: 8.375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3369, allocations: 54.17 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3369, allocations: 192 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3369, allocations: 3.938 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3369, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.337, allocations: 15.98 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.3375, allocations: 315.9 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.3375, allocations: 38.44 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.3376, allocations: 16.86 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3376, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3378, allocations: 87.39 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.624e-06/0.3378, allocations: 0 / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002466/0.338, allocations: 109.5 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3381, allocations: 59.34 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3382, allocations: 117.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.3382, allocations: 29.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.3383, allocations: 92.12 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3383, allocations: 19.89 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.3384, allocations: 49.69 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3385, allocations: 322.8 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3387, allocations: 59.97 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3388, allocations: 92.25 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.339, allocations: 159.6 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3391, allocations: 4 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000444/0.3395, allocations: 264.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.3396, allocations: 69.11 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3396, allocations: 64 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.3396, allocations: 8 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-05/0.3396, allocations: 4.469 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3396, allocations: 320 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.3399, allocations: 56.02 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.34, allocations: 15.98 kB / 1.332 GB, free: 11.95 MB / 1.029 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.0001086/0.3401, allocations: 121.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.3401, allocations: 11.92 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.3401, allocations: 12.31 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3401, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3401, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3401, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.3403, allocations: 148.6 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3403, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.3403, allocations: 3.984 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3403, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3403, allocations: 4 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3403, allocations: 3.984 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3403, allocations: 0 / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.3405, allocations: 121 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.3405, allocations: 3.953 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3405, allocations: 11.92 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.3405, allocations: 4 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.3406, allocations: 7.922 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3406, allocations: 4 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.3406, allocations: 91.27 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3406, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002584/0.3409, allocations: 32 kB / 1.333 GB, free: 11.3 MB / 1.029 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.0001505/0.341, allocations: 109.6 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3414, allocations: 218.6 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3414, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.3415, allocations: 24 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.3417, allocations: 11.98 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.3421, allocations: 189 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3424, allocations: 0.6846 MB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.3424, allocations: 11.44 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3424, allocations: 3.938 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of Templates: time 0.003312/0.3457, allocations: 1.386 MB / 1.335 GB, free: 8.59 MB / 1.029 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/jenkins1/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: 11.065561717987293]