Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001591, allocations: 113.4 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 186.6 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001558, allocations: 67.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9191/0.9207, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002326/0.9231, allocations: 0.7645 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.9244, allocations: 0.839 MB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.9244, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.9245, allocations: 3.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.9246, allocations: 19.84 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.9248, allocations: 23.97 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.9249, allocations: 71.77 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.9251, allocations: 24 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.9252, allocations: 35.83 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.9253, allocations: 35.91 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.9253, allocations: 7.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.9253, allocations: 8 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.9254, allocations: 15.98 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.9254, allocations: 35.78 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.9256, allocations: 67.75 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.9256, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.977e-06/0.9256, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.9256, allocations: 3.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 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.000683/0.9263, allocations: 379.1 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.9263, allocations: 8.031 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.9264, allocations: 8.844 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.9267, allocations: 174.1 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.9267, allocations: 4.375 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.9268, allocations: 8.375 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.9271, allocations: 82.14 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9271, allocations: 192 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.9271, allocations: 15.92 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9271, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.9274, allocations: 67.88 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.9279, allocations: 332.6 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.9283, allocations: 86.47 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.9284, allocations: 40.92 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.9284, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.9285, allocations: 30.56 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.9285, allocations: 4 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0005601/0.929, allocations: 137.7 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.9291, allocations: 55.41 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.9292, allocations: 121.8 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.9292, allocations: 25.7 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.9293, allocations: 92.06 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.9293, allocations: 23.72 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.9294, allocations: 21.7 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.9296, allocations: 322.8 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.9297, allocations: 32.02 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.9298, allocations: 39.97 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.9301, allocations: 64.81 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9301, allocations: 4 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000295/0.9304, allocations: 105.5 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.9304, allocations: 8 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9304, allocations: 0 / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9304, allocations: 0 / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.9306, allocations: 19.92 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9306, allocations: 0 / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.9307, allocations: 7.984 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.9307, allocations: 4 kB / 1.213 GB, free: 9.117 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.9309, allocations: 121.7 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.9309, allocations: 7.906 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.931, allocations: 12.36 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.931, allocations: 0 / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.931, allocations: 0 / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.931, allocations: 81.11 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.931, allocations: 0 / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.9312, allocations: 19.92 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.9313, allocations: 11.98 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003923/0.9317, allocations: 188.9 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005276/0.9322, allocations: 286.9 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001343/0.9323, allocations: 39.97 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.791e-05/0.9324, allocations: 95.27 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of Backend: time 3.6e-07/0.9324, allocations: 0 / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.9329, allocations: 114.4 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006714/0.9336, allocations: 0.6154 MB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of Templates: time 0.004351/0.938, allocations: 1.333 MB / 1.215 GB, free: 6.105 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches