Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001966/0.001966, allocations: 110 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.003296/0.003296, allocations: 190.1 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.607/1.607, 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.671/2.671, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] 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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.88 kB / 1.062 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9066/0.9087, allocations: 160.8 MB / 1.219 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002332/0.911, allocations: 0.6706 MB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.9123, allocations: 0.818 MB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.9123, allocations: 0.9375 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.9124, allocations: 3.938 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-05/0.9124, allocations: 5 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.9126, allocations: 9.266 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.9127, allocations: 25.2 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.9128, allocations: 10.33 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.504e-05/0.9129, allocations: 16.64 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.9129, allocations: 6.656 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.9129, allocations: 2.125 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.9129, allocations: 5.125 kB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.9129, allocations: 5.188 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.913, allocations: 14.27 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.9131, allocations: 24.03 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9131, allocations: 0 / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9131, allocations: 1.25 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9131, allocations: 0 / 1.22 GB, free: 2.379 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005033/0.9136, allocations: 335.6 kB / 1.22 GB, free: 2.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.9136, allocations: 9.188 kB / 1.22 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.9136, allocations: 6.281 kB / 1.22 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.9138, allocations: 169.1 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.9138, allocations: 1.438 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.9138, allocations: 1.562 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.914, allocations: 53.48 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.914, allocations: 192 / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.914, allocations: 9.094 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.914, allocations: 0 / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.9142, allocations: 38.23 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.9146, allocations: 249.7 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.9147, allocations: 37.95 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.9148, allocations: 27 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.9148, allocations: 4 kB / 1.221 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.9149, allocations: 31.69 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9149, allocations: 0 / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.9152, allocations: 84.53 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.9153, allocations: 52.62 kB / 1.221 GB, free: 1.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.9154, allocations: 107 kB / 1.221 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.9154, allocations: 25.7 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.9154, allocations: 81.27 kB / 1.221 GB, free: 1.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.9155, allocations: 5.234 kB / 1.221 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.9155, allocations: 16.25 kB / 1.221 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9156, allocations: 314.8 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.9157, allocations: 21 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.9158, allocations: 18.48 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.9159, allocations: 34.58 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9159, allocations: 1.344 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.9161, allocations: 72.2 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9161, allocations: 4.844 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.9162, allocations: 96 / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.9162, allocations: 5.031 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.9163, allocations: 10.36 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.9163, allocations: 3.938 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.9163, allocations: 7.125 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.9163, allocations: 5.078 kB / 1.222 GB, free: 0.5547 MB / 0.92 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 8.449e-05/0.9164, allocations: 123.3 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.9164, allocations: 0.9375 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.9167, allocations: 74.72 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.9167, allocations: 1.062 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9167, allocations: 0 / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9167, allocations: 4 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.9169, allocations: 162.8 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.9169, allocations: 3.938 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.9169, allocations: 5.625 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9169, allocations: 1.094 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.9169, allocations: 4.031 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.9169, allocations: 1.219 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9169, allocations: 3.938 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.9172, allocations: 158.6 kB / 1.222 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.9173, allocations: 89.98 kB / 1.222 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.9173, allocations: 1.125 kB / 1.222 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.9173, allocations: 7.312 kB / 1.222 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.9174, allocations: 5.172 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.9174, allocations: 1.312 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.9174, allocations: 78.12 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9174, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002136/0.9177, allocations: 3.469 kB / 1.223 GB, free: 15.82 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: 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.0001337/0.9178, allocations: 101.1 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.918, allocations: 45.3 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.918, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.9181, allocations: 15.02 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.9184, allocations: 11.22 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.9187, allocations: 108.1 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.9191, allocations: 0.681 MB / 1.223 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.9191, allocations: 1.031 kB / 1.223 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.9191, allocations: 9.594 kB / 1.223 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9191, allocations: 0 / 1.223 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.002925/0.922, allocations: 446.2 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.12213219422847]