Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 172.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009956/0.0009955, allocations: 82.55 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.134e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2424, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7483/0.9908, allocations: 131.6 MB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.9911, allocations: 70.7 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001697/0.9928, allocations: 0.6721 MB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9928, allocations: 0 / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9928, allocations: 7.938 kB / 1.015 GB, free: 5.43 MB / 0.6355 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.0003264/0.9932, allocations: 337.4 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9932, allocations: 8.031 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.9933, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.9934, allocations: 167 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.9934, allocations: 0 / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.9934, allocations: 0 / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.028e-05/0.9935, allocations: 14.56 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.042e-05/0.9936, allocations: 36.19 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.9936, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.9936, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.9936, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.994, allocations: 251.7 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.994, allocations: 21.77 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.9941, allocations: 12.23 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.9941, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.9941, allocations: 38.59 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.9941, allocations: 4 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.9943, allocations: 42.92 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.9943, allocations: 51.41 kB / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.9944, allocations: 96.88 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.9944, allocations: 25.7 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.9945, allocations: 80.14 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.9945, allocations: 15.86 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.9945, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.9946, allocations: 318.8 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.9947, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.9947, allocations: 7.75 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.713e-05/0.9947, allocations: 4 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9947, allocations: 0 / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.425e-05/0.9948, allocations: 41.38 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9948, allocations: 6.281 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.9948, allocations: 8 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.9948, allocations: 0.75 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.9949, allocations: 8 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.995, allocations: 0 / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.995, allocations: 7.984 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.995, allocations: 4 kB / 1.016 GB, free: 3.703 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.9951, allocations: 112.9 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.9951, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.9952, allocations: 49.33 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.9952, allocations: 7.938 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9953, allocations: 3.938 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.9953, allocations: 0 / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.9954, allocations: 138 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9954, allocations: 3.953 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.9955, allocations: 8 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.9955, allocations: 4.031 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.9955, allocations: 3.984 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9955, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9955, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.9956, allocations: 142.8 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.9957, allocations: 85.05 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.9957, allocations: 7.234 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.9958, allocations: 12.03 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.9959, allocations: 3.984 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.9959, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.175e-05/0.9959, allocations: 83.09 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9959, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002037/0.9961, allocations: 4 kB / 1.017 GB, free: 2.98 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000128/0.9962, allocations: 102.1 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.491e-05/0.9963, allocations: 15.56 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9963, allocations: 0 / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.9963, allocations: 7.938 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.9965, allocations: 2.578 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.9967, allocations: 63.81 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.997, allocations: 0.6807 MB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.997, allocations: 128 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.997, allocations: 11.44 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of SimCode: time 1.713e-06/0.997, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of Templates: time 0.001898/0.9989, allocations: 342 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches