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.Feedback.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.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.3 MB / 261.8 MB, free: 5.988 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.001075/0.001075, allocations: 184.8 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.444/1.444, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0007915/0.0007914, allocations: 92.52 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.785e-05/6.811e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6755/0.8794, allocations: 131.3 MB / 1.02 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.8796, allocations: 73.19 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002286/0.8819, allocations: 0.8448 MB / 1.021 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8819, allocations: 0 / 1.021 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8819, allocations: 0 / 1.021 GB, free: 2.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000402/0.8824, allocations: 361.6 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.8824, allocations: 8.031 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.8825, allocations: 7.906 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.8826, allocations: 163 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.8826, allocations: 7.312 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.8826, allocations: 0.6875 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.8828, allocations: 44.81 kB / 1.022 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.8828, allocations: 7.938 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8828, allocations: 0 / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8828, allocations: 4 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/0.8829, allocations: 15.25 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.8834, allocations: 306.6 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.8835, allocations: 33.56 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.8835, allocations: 27.56 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.8835, allocations: 4 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.8836, allocations: 30.56 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.8836, allocations: 0 / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.00015/0.8837, allocations: 54.78 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.8838, allocations: 58.89 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.8839, allocations: 104.5 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.8839, allocations: 25.7 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.8839, allocations: 82.27 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.884, allocations: 11.89 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.884, allocations: 0 / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.8841, allocations: 318.7 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.8841, allocations: 7.875 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.8841, allocations: 19.69 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.8842, allocations: 4 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8842, allocations: 0 / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.618e-05/0.8843, allocations: 60.72 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8843, allocations: 4 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.8843, allocations: 1.875 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8843, allocations: 0 / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.8845, allocations: 27.86 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8845, allocations: 0 / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.8846, allocations: 19.97 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.8846, allocations: 0 / 1.023 GB, free: 0.6992 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 (3): * Single equations (assignments): 3 * 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.895e-05/0.8847, allocations: 104.9 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.8847, allocations: 4 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.8848, allocations: 7.594 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.8848, allocations: 4 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8848, allocations: 4 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8848, allocations: 7.875 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.885, allocations: 171.2 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.885, allocations: 0 / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.8851, allocations: 15.98 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8851, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.8851, allocations: 7.375 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8851, allocations: 4 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8851, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.8853, allocations: 150.2 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.8853, allocations: 77.11 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.8853, allocations: 240 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.8855, allocations: 23.22 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.8855, allocations: 8 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.8855, allocations: 3.984 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.8856, allocations: 85.53 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.543e-06/0.8856, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001918/0.8858, allocations: 15.86 kB / 1.023 GB, free: 15.95 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 (3): * Single equations (assignments): 3 * 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.000142/0.8859, allocations: 105 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.689e-05/0.886, allocations: 21.75 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8861, allocations: 4 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.8861, allocations: 11.69 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.8863, allocations: 11.45 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.8865, allocations: 76.98 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.8868, allocations: 0.6848 MB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.8869, allocations: 4 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.8869, allocations: 19.31 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.8869, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.002392/0.8893, allocations: 0.5309 MB / 1.025 GB, free: 14.46 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Feedback.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches