Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001777/0.001777, 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.002509/0.002509, allocations: 217.4 kB / 23.01 MB, free: 4.566 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.198/3.198, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [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: 66.44 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001943/0.3492, allocations: 0.6634 MB / 1.355 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3503, allocations: 0.867 MB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.3503, allocations: 0 / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.3504, allocations: 7.922 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.3504, allocations: 4 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.3506, allocations: 7.938 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.3507, allocations: 27.92 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.3508, allocations: 3.984 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.3508, allocations: 11.94 kB / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.3509, allocations: 15.97 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.3509, allocations: 0 / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.463e-05/0.3509, allocations: 12 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.3509, allocations: 7.938 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.351, allocations: 4 kB / 1.356 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3511, allocations: 27.84 kB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3511, allocations: 0 / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3511, allocations: 0 / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3511, allocations: 0 / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000445/0.3515, allocations: 262.3 kB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3516, allocations: 12.02 kB / 1.356 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.3516, allocations: 8.938 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3518, allocations: 106.5 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3518, allocations: 384 / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.3518, allocations: 4.375 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.352, allocations: 54.17 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.352, allocations: 4.125 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.352, allocations: 3.938 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.352, allocations: 0 / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3522, allocations: 39.95 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3525, allocations: 224 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.3526, allocations: 38.44 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.3527, allocations: 20.91 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.3527, allocations: 4 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3528, allocations: 34.55 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3528, allocations: 0 / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.3531, allocations: 77.66 kB / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3532, allocations: 55.39 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.3533, allocations: 109.9 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3533, allocations: 25.7 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.3533, allocations: 80.14 kB / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.3533, allocations: 3.953 kB / 1.357 GB, free: 4.938 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3534, allocations: 21.7 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3535, allocations: 314.8 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.3536, allocations: 15.98 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.3537, allocations: 19.98 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.3538, allocations: 36.81 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3538, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.354, allocations: 69.56 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3541, allocations: 7.984 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3541, allocations: 4 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3541, allocations: 4.094 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.3542, allocations: 7.938 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3542, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.3542, allocations: 7.984 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3542, allocations: 4 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 9.883e-05/0.3543, allocations: 121.7 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3544, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3546, allocations: 76.97 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3546, allocations: 3.984 kB / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3546, allocations: 0 / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3546, allocations: 0 / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3548, allocations: 132.6 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3548, allocations: 0 / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.3548, allocations: 15.98 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3548, allocations: 4.125 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3548, allocations: 0 / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3548, allocations: 4.031 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3548, allocations: 0 / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3551, allocations: 167.4 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.3551, allocations: 3.953 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3551, allocations: 4 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.3552, allocations: 12.02 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.3552, allocations: 0 / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3552, allocations: 0 / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.3553, allocations: 83.27 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3553, allocations: 0 / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002199/0.3555, allocations: 8 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001264/0.3556, allocations: 91.25 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.3558, allocations: 39.91 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3558, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.3559, allocations: 19.97 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3562, allocations: 11.94 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.3565, allocations: 128 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3569, allocations: 0.6808 MB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.3569, allocations: 11.44 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3569, allocations: 0 / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of Templates: time 0.002058/0.359, allocations: 0.5464 MB / 1.359 GB, free: 2.121 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.24136989901308]