Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 165.1 kB / 498.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.746/1.746, allocations: 223.2 MB / 0.7949 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009755/0.0009754, allocations: 99.31 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3173, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.5183, allocations: 148.9 MB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.5186, allocations: 71.91 kB / 1.368 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003322/0.5219, allocations: 1.13 MB / 1.37 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.522, allocations: 0 / 1.37 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.522, allocations: 0 / 1.37 GB, free: 11.91 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000486/0.5225, allocations: 383 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5225, allocations: 11.97 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.5226, allocations: 7.906 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.5227, allocations: 171 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5228, allocations: 8 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.5228, allocations: 8 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.523, allocations: 81.64 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5231, allocations: 0 / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5231, allocations: 0 / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5231, allocations: 4 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.5234, allocations: 83.88 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.524, allocations: 348.7 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.5242, allocations: 94.5 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5243, allocations: 0 / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.5243, allocations: 30.67 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5243, allocations: 7.938 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.000472/0.5248, allocations: 149.7 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.5248, allocations: 59.34 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.5249, allocations: 116.9 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.5249, allocations: 29.7 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.525, allocations: 92.08 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.525, allocations: 19.7 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.5251, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5252, allocations: 310.8 kB / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5253, allocations: 47.91 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.5254, allocations: 35.97 kB / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5255, allocations: 31.98 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5255, allocations: 0 / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002838/0.5258, allocations: 117.9 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5258, allocations: 4 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5259, allocations: 4.062 kB / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5259, allocations: 0 / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.526, allocations: 19.98 kB / 1.372 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.5261, allocations: 11.94 kB / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.5261, allocations: 11.94 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.5262, allocations: 4 kB / 1.372 GB, free: 9.434 MB / 0.8698 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 (6): * Single equations (assignments): 6 * 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.313e-05/0.5262, allocations: 121.8 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.5263, allocations: 3.906 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.5263, allocations: 12.38 kB / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.5263, allocations: 0 / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5263, allocations: 0 / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5263, allocations: 7.953 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.5265, allocations: 189.6 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5265, allocations: 0 / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.5267, allocations: 23.97 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5267, allocations: 0 / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5267, allocations: 4 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5267, allocations: 0 / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5267, allocations: 3.938 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.527, allocations: 219.3 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.5271, allocations: 81.11 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5271, allocations: 3.984 kB / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5272, allocations: 12 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.5273, allocations: 15.97 kB / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.5273, allocations: 0 / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.5274, allocations: 99.27 kB / 1.372 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5274, allocations: 0 / 1.372 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002125/0.5276, allocations: 11.91 kB / 1.372 GB, free: 8.543 MB / 0.8698 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 (6): * Single equations (assignments): 6 * 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.0001663/0.5278, allocations: 107 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.5281, allocations: 91.88 kB / 1.373 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5281, allocations: 0 / 1.373 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.5283, allocations: 48.09 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.5285, allocations: 15.95 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.5289, allocations: 184.6 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5292, allocations: 0.6926 MB / 1.374 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.701e-05/0.5293, allocations: 8.188 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.5293, allocations: 19.42 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/0.5293, allocations: 0 / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.00337/0.5327, allocations: 1.04 MB / 1.375 GB, free: 6.289 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches