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.001374/0.001374, allocations: 107 kB / 16.45 MB, free: 6.453 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.001527/0.001527, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.319/3.319, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002236/0.002236, allocations: 72.02 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4123, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002374/0.4146, allocations: 0.644 MB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4164, allocations: 1.218 MB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.4165, allocations: 0 / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.4165, allocations: 11.86 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.812e-05/0.4166, allocations: 15.88 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.4174, allocations: 217.2 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.4176, allocations: 175.8 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.4177, allocations: 4 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4179, allocations: 71.88 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.418, allocations: 63.8 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.4181, allocations: 15.94 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.4181, allocations: 35.97 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.4182, allocations: 15.92 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.4183, allocations: 47.91 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.4185, allocations: 155.5 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4185, allocations: 0 / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4185, allocations: 4 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4186, allocations: 0 / 1.324 GB, free: 156 kB / 1.014 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.0007893/0.4193, allocations: 438.6 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.4194, allocations: 11.98 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/0.4195, allocations: 12.92 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.4197, allocations: 168.3 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4197, allocations: 12.38 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.4197, allocations: 8.375 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.4199, allocations: 50.17 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4199, allocations: 4.188 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.4199, allocations: 7.938 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4199, allocations: 4 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.4199, allocations: 12 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.4206, allocations: 344.8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.4207, allocations: 38.44 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.4207, allocations: 12.86 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.4207, allocations: 8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.4209, allocations: 83.44 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.4209, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003292/0.4213, allocations: 101.6 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.4213, allocations: 59.41 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4215, allocations: 125.7 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.4215, allocations: 29.7 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4216, allocations: 96.12 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.4216, allocations: 15.89 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4217, allocations: 49.69 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4219, allocations: 326.8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.422, allocations: 59.97 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.4222, allocations: 84.27 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.4225, allocations: 167.5 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4225, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000489/0.423, allocations: 264.8 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/0.423, allocations: 71.52 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.423, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.4231, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.576e-05/0.4231, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4231, allocations: 4.312 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.4235, allocations: 51.89 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.4235, allocations: 11.98 kB / 1.326 GB, free: 13.16 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.0001513/0.4237, allocations: 136.8 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.4237, allocations: 4 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.4237, allocations: 8.359 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4237, allocations: 480 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4237, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4237, allocations: 3.984 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.4239, allocations: 181.5 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4239, allocations: 4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.4239, allocations: 11.98 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4239, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.424, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.424, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.424, allocations: 3.984 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.4242, allocations: 109 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.4242, allocations: 85.06 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4242, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.4243, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.4243, allocations: 19.92 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4243, allocations: 7.938 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.688e-05/0.4244, allocations: 91.27 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4244, allocations: 0 / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002502/0.4247, allocations: 28 kB / 1.327 GB, free: 12.37 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.000198/0.4249, allocations: 103.2 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003972/0.4253, allocations: 218.8 kB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4253, allocations: 4.062 kB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.4253, allocations: 19.98 kB / 1.327 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4256, allocations: 18.8 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.4259, allocations: 162.4 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.4263, allocations: 0.6885 MB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.4263, allocations: 8 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.4263, allocations: 15.44 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4263, allocations: 0 / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Templates: time 0.005042/0.4314, allocations: 1.843 MB / 1.33 GB, free: 9.234 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/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: 9.34974840702489]