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.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 249.3 MB / 261.9 MB, free: 5.965 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.001056/0.001056, allocations: 192.3 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008187/0.0008184, allocations: 90.45 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.708e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2063, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.702/0.9083, allocations: 131.3 MB / 1.02 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.9086, allocations: 70.03 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002733/0.9113, allocations: 1.056 MB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9114, allocations: 0 / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9114, allocations: 3.938 kB / 1.021 GB, free: 2.449 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.00035/0.9117, allocations: 342.4 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.9118, allocations: 8.031 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.9118, allocations: 3.375 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.9119, allocations: 175 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.912, allocations: 0 / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.912, allocations: 0 / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.9121, allocations: 32.52 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.9121, allocations: 8 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.9121, allocations: 3.984 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.9121, allocations: 0 / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.9122, allocations: 12.05 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.9126, allocations: 261.4 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.9127, allocations: 34.14 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.9127, allocations: 12.73 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.9127, allocations: 0 / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.9128, allocations: 30.56 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.9128, allocations: 0 / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.9129, allocations: 48.78 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.913, allocations: 55.34 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.913, allocations: 99.38 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.9131, allocations: 25.7 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.9131, allocations: 80.14 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.9132, allocations: 15.77 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.9132, allocations: 0 / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9133, allocations: 314.8 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.9133, allocations: 6.812 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.9133, allocations: 0 / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.9134, allocations: 15.38 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9134, allocations: 0 / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.863e-05/0.9134, allocations: 40.39 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9135, allocations: 9.859 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9135, allocations: 0 / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.9135, allocations: 0 / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.9136, allocations: 11.94 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.9136, allocations: 7.938 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.9137, allocations: 12.02 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.9137, allocations: 0 / 1.023 GB, free: 0.6562 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 8.63e-05/0.9138, allocations: 108.9 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.9138, allocations: 3.938 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.9138, allocations: 9.703 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9139, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9139, allocations: 3.984 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9139, allocations: 4 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.914, allocations: 157.1 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.914, allocations: 4 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.9141, allocations: 11.98 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9141, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.9141, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9141, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9141, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.9143, allocations: 154.3 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.9143, allocations: 77.11 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.9144, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.9144, allocations: 7.984 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.9145, allocations: 2.562 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.9145, allocations: 4 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.9145, allocations: 75.28 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9146, allocations: 4 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002079/0.9148, allocations: 32 / 1.023 GB, free: 15.96 MB / 0.6511 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.0001365/0.9149, allocations: 106.8 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.316e-05/0.915, allocations: 11.06 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.915, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.915, allocations: 11.98 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.9152, allocations: 11.33 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.9154, allocations: 68.73 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.9157, allocations: 0.6813 MB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.9157, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.9157, allocations: 11.38 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of SimCode: time 3e-07/0.9157, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of Templates: time 0.001966/0.9177, allocations: 355.7 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches