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.001321/0.001321, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001403/0.001403, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.476/1.476, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 443.5 MB / 0.7293 GB, free: 14.43 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001995/0.001995, allocations: 72.08 kB / 1.057 GB, free: 1.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2915, allocations: 160.7 MB / 1.214 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001877/0.2934, allocations: 0.6634 MB / 1.215 GB, free: 128 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000934/0.2944, allocations: 0.8196 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.2944, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.2944, allocations: 7.922 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.2945, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.2946, allocations: 15.88 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.2947, allocations: 15.98 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.2948, allocations: 8 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.2948, allocations: 11.92 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.2949, allocations: 15.91 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2949, allocations: 7.938 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.2949, allocations: 0 / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.2949, allocations: 12 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.2949, allocations: 3.938 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.142e-05/0.295, allocations: 27.84 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.295, allocations: 0 / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.295, allocations: 0 / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.295, allocations: 0 / 1.216 GB, free: 15.17 MB / 0.9669 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.0004713/0.2955, allocations: 339.5 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2955, allocations: 8.031 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.2956, allocations: 4.891 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2957, allocations: 172.4 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2957, allocations: 384 / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.2957, allocations: 384 / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.2959, allocations: 54.17 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2959, allocations: 192 / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.2959, allocations: 3.938 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2959, allocations: 0 / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.2961, allocations: 35.97 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.2964, allocations: 245 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2965, allocations: 38.5 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.2966, allocations: 16.91 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2966, allocations: 7.938 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.2967, allocations: 42.55 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2967, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003378/0.297, allocations: 73.66 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2971, allocations: 55.39 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.2972, allocations: 101.8 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2972, allocations: 29.83 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.2972, allocations: 84.12 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2972, allocations: 11.95 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.2973, allocations: 13.7 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.2974, allocations: 314.8 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.2975, allocations: 19.92 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.2976, allocations: 11.98 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.2977, allocations: 48.88 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2977, allocations: 0 / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.2979, allocations: 69.56 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2979, allocations: 7.938 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2979, allocations: 3.984 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.298, allocations: 0 / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.298, allocations: 12.03 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.298, allocations: 7.938 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.2981, allocations: 7.984 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2981, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 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 7.44e-05/0.2982, allocations: 117.7 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2982, allocations: 4 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.2984, allocations: 72.78 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2984, allocations: 3.984 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2984, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2984, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.2986, allocations: 161.6 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2986, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.2987, allocations: 7.984 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.2987, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2987, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2987, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2987, allocations: 8.031 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.2989, allocations: 163.4 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.299, allocations: 85.06 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.299, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.2991, allocations: 7.984 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.2991, allocations: 4.031 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.2991, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.2991, allocations: 87.27 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2991, allocations: 0 / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002076/0.2994, allocations: 4 kB / 1.218 GB, free: 12.32 MB / 0.9669 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.0001207/0.2995, allocations: 99.25 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.2997, allocations: 39.91 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2997, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.2998, allocations: 23.97 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3, allocations: 3.938 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.3003, allocations: 135.7 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3006, allocations: 0.6768 MB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.3007, allocations: 15.5 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3007, allocations: 4 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.001891/0.3025, allocations: 0.5474 MB / 1.22 GB, free: 10.72 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.033588452963158]