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.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 186.8 kB / 326.5 MB, free: 2.258 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.936/1.936, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001185/0.001185, allocations: 79.66 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 11.78 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2417, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.4187, allocations: 131.4 MB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.4191, allocations: 75.94 kB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002503/0.4216, allocations: 0.8409 MB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4216, allocations: 4 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4217, allocations: 0 / 1.029 GB, free: 11.47 MB / 0.6823 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.0004961/0.4222, allocations: 367.1 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4222, allocations: 8.031 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.4223, allocations: 11.94 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.4224, allocations: 178.9 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4224, allocations: 7.984 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4225, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4227, allocations: 81.66 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4227, allocations: 3.938 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4228, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4228, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.4231, allocations: 87.92 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.4236, allocations: 304.8 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4239, allocations: 70.47 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.4239, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.4239, allocations: 34.56 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4239, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000558/0.4245, allocations: 157.7 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4245, allocations: 59.34 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.4246, allocations: 101 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4247, allocations: 25.7 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.4247, allocations: 88.14 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.4248, allocations: 11.8 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.4248, allocations: 0 / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.425, allocations: 318.8 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.4252, allocations: 43.97 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.4253, allocations: 43.95 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.4255, allocations: 43.97 kB / 1.031 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4255, allocations: 0 / 1.031 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000326/0.4258, allocations: 117.6 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4258, allocations: 10.66 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4258, allocations: 0 / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4259, allocations: 336 / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.426, allocations: 27.92 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.426, allocations: 0 / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.4261, allocations: 19.92 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4261, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6823 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 (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 9.714e-05/0.4262, allocations: 121.8 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.4263, allocations: 11.88 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.4263, allocations: 7.844 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4263, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4263, allocations: 4 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4263, allocations: 0 / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4265, allocations: 169.6 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4265, allocations: 0 / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.4266, allocations: 19.97 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4266, allocations: 8 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4267, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4267, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4267, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.4271, allocations: 223.3 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.4271, allocations: 81.02 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.4271, allocations: 11.98 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4273, allocations: 15.98 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.4273, allocations: 8 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4273, allocations: 0 / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.4274, allocations: 87.27 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4274, allocations: 0 / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002115/0.4276, allocations: 8 kB / 1.032 GB, free: 8.227 MB / 0.6823 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 (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.0001835/0.4278, allocations: 99.25 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.4281, allocations: 91.92 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4281, allocations: 4 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.4283, allocations: 47.89 kB / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.4285, allocations: 10.19 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.4289, allocations: 140.5 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.4292, allocations: 0.6848 MB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.4292, allocations: 4 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.4293, allocations: 7.438 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.4293, allocations: 0 / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of Templates: time 0.002397/0.4317, allocations: 0.5144 MB / 1.034 GB, free: 6.574 MB / 0.6823 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