Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 192.8 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.86 kB / 1.061 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 160.8 MB / 1.218 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001946/1.023, allocations: 0.6757 MB / 1.219 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001745/1.025, allocations: 1.197 MB / 1.22 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/1.025, allocations: 1.375 kB / 1.22 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/1.025, allocations: 3.938 kB / 1.22 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/1.025, allocations: 10.52 kB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/1.026, allocations: 221.5 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/1.026, allocations: 170.3 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/1.026, allocations: 7.766 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/1.026, allocations: 72.17 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/1.026, allocations: 68 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/1.026, allocations: 14.47 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/1.027, allocations: 33.52 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/1.027, allocations: 7.297 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/1.027, allocations: 62.67 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/1.027, allocations: 152.5 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.027, allocations: 0 / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/1.027, allocations: 0.9375 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.252e-05/1.027, allocations: 0 / 1.221 GB, free: 1.609 MB / 0.92 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.0006268/1.028, allocations: 437.1 kB / 1.222 GB, free: 1.152 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.028, allocations: 9.438 kB / 1.222 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/1.028, allocations: 11.42 kB / 1.222 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.028, allocations: 175.7 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/1.028, allocations: 12.92 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/1.028, allocations: 12.75 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/1.028, allocations: 43.88 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.028, allocations: 192 / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.028, allocations: 9.062 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.028, allocations: 0.9375 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.701e-05/1.028, allocations: 19.47 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/1.029, allocations: 354.2 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/1.029, allocations: 39.7 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/1.029, allocations: 13.78 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/1.029, allocations: 0 / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/1.029, allocations: 76.88 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.029, allocations: 0 / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002811/1.029, allocations: 107.4 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.029, allocations: 57.66 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.029, allocations: 125.9 kB / 1.223 GB, free: 140 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/1.029, allocations: 29.92 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/1.03, allocations: 93.22 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/1.03, allocations: 9.969 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.03, allocations: 56.67 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.03, allocations: 316.7 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/1.03, allocations: 59.16 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/1.03, allocations: 110.1 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/1.03, allocations: 156 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.03, allocations: 1.188 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004515/1.031, allocations: 260.3 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/1.031, allocations: 68.92 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.031, allocations: 2.219 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.031, allocations: 1.094 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.681e-05/1.031, allocations: 6.141 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.031, allocations: 2.219 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/1.031, allocations: 59.27 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/1.031, allocations: 13.27 kB / 1.224 GB, free: 15.12 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.0001293/1.031, allocations: 138.5 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/1.032, allocations: 6.234 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/1.032, allocations: 6.625 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.032, allocations: 0 / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.032, allocations: 1.625 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.032, allocations: 0 / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/1.032, allocations: 189.2 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.032, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/1.032, allocations: 1.156 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.032, allocations: 5.031 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/1.032, allocations: 1.125 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.032, allocations: 1.094 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.032, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/1.032, allocations: 116 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/1.032, allocations: 83.12 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/1.032, allocations: 5.062 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/1.032, allocations: 5.125 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/1.032, allocations: 10.08 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/1.032, allocations: 3.312 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.249e-05/1.032, allocations: 91.36 kB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/1.032, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002421/1.032, allocations: 26.78 kB / 1.224 GB, free: 14.45 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.0001628/1.033, allocations: 111.7 kB / 1.224 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003874/1.033, allocations: 223.6 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.033, allocations: 4.875 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/1.033, allocations: 24.98 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/1.033, allocations: 19.81 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/1.034, allocations: 152.4 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/1.034, allocations: 0.6873 MB / 1.226 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.828e-05/1.034, allocations: 7.984 kB / 1.226 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/1.034, allocations: 11.72 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/1.034, allocations: 0 / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.005279/1.039, allocations: 1.868 MB / 1.227 GB, free: 12.34 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.480081640183926]