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.002182/0.002182, allocations: 79.52 kB / 19.18 MB, free: 2.516 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.00224/0.00224, allocations: 168.8 kB / 22.46 MB, free: 5.375 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.628/1.628, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.343/3.343, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 4.108e-06/4.108e-06, allocations: 0 / 1 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/4.197e-05, allocations: 6.219 kB / 1 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002944/0.002986, allocations: 0.6578 MB / 1.001 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.004822, allocations: 0.8548 MB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.004868, allocations: 0 / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.004907, allocations: 3.938 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.00498, allocations: 0 / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.005215, allocations: 15.92 kB / 1.002 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.00532, allocations: 27.86 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.005443, allocations: 7.984 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.00554, allocations: 11.98 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.005591, allocations: 8 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.005609, allocations: 0 / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.005665, allocations: 8 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.005692, allocations: 11.98 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.005721, allocations: 3.938 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.005874, allocations: 35.89 kB / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.005879, allocations: 0 / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.00588, allocations: 0 / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.005886, allocations: 0 / 1.002 GB, free: 5.531 MB / 0.9512 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.0006137/0.006499, allocations: 262.3 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.006552, allocations: 8.031 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.006687, allocations: 8.922 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.006846, allocations: 109.7 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006865, allocations: 4.375 kB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.006876, allocations: 384 / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.007134, allocations: 54.17 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.007145, allocations: 192 / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.007156, allocations: 384 / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.007161, allocations: 384 / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.007433, allocations: 35.91 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.00786, allocations: 196.6 kB / 1.002 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.008068, allocations: 34.56 kB / 1.002 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.008226, allocations: 24.83 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.008246, allocations: 0 / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.008292, allocations: 46.44 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.008294, allocations: 0 / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0005811/0.008875, allocations: 85.62 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.008933, allocations: 55.41 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.009046, allocations: 97.86 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.009069, allocations: 25.7 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.009137, allocations: 80.14 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.009174, allocations: 15.94 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.009221, allocations: 9.719 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.009415, allocations: 318.8 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.00955, allocations: 15.98 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.009683, allocations: 16.02 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.009954, allocations: 40.81 kB / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009956, allocations: 0 / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000355/0.01031, allocations: 69.66 kB / 1.003 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.01033, allocations: 4 kB / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.01034, allocations: 8.031 kB / 1.003 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01036, allocations: 0 / 1.003 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.01049, allocations: 8 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.0105, allocations: 3.938 kB / 1.003 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.01059, allocations: 7.984 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.0106, allocations: 0 / 1.003 GB, free: 3.742 MB / 0.9512 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 0.0001102/0.01071, allocations: 110.4 kB / 1.003 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.01075, allocations: 0 / 1.003 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.01114, allocations: 80.89 kB / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.01115, allocations: 4.188 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01115, allocations: 0 / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.01116, allocations: 3.984 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.01137, allocations: 105.3 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01137, allocations: 0 / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.01147, allocations: 7.984 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.01148, allocations: 4 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.01149, allocations: 0 / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.0115, allocations: 7.938 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0115, allocations: 4.031 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.01192, allocations: 163.5 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.01193, allocations: 3.938 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.01195, allocations: 7.984 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.01209, allocations: 7.938 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.01213, allocations: 4 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01214, allocations: 3.984 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.713e-05/0.01221, allocations: 79.28 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01221, allocations: 7.969 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004204/0.01263, allocations: 4 kB / 1.004 GB, free: 3.078 MB / 0.9512 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.0001487/0.01278, allocations: 91.25 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.01313, allocations: 43.89 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01313, allocations: 0 / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.01329, allocations: 15.98 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.01379, allocations: 8.125 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.01421, allocations: 112.7 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.147e-05/0.0143, allocations: 63.34 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.01433, allocations: 0 / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.01436, allocations: 12.5 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.01436, allocations: 0 / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of Templates: time 0.004129/0.01849, allocations: 453.9 kB / 1.005 GB, free: 2.242 MB / 0.9512 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/jenkins/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: 9.006330020725727]