Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002593/0.002593, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.91 kB / 1.056 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8374, allocations: 160.7 MB / 1.213 GB, free: 4 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002371/0.8398, allocations: 0.7693 MB / 1.214 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.8411, allocations: 0.8392 MB / 1.215 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.8412, allocations: 0.9688 kB / 1.215 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.8412, allocations: 5 kB / 1.215 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.8413, allocations: 12.98 kB / 1.215 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.8415, allocations: 32.12 kB / 1.215 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.8416, allocations: 71.91 kB / 1.215 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.8418, allocations: 10.25 kB / 1.215 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.8419, allocations: 41.88 kB / 1.215 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.842, allocations: 41.8 kB / 1.215 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.842, allocations: 6.781 kB / 1.215 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.842, allocations: 7.031 kB / 1.215 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.842, allocations: 14.67 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.8421, allocations: 32.7 kB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.8423, allocations: 78.5 kB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8423, allocations: 0 / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8423, allocations: 1.156 kB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8423, allocations: 0 / 1.215 GB, free: 2.48 MB / 0.92 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.000666/0.8429, allocations: 383.1 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.843, allocations: 10.75 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.843, allocations: 35.81 kB / 1.215 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.8431, allocations: 8.172 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.8432, allocations: 178 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.8433, allocations: 6.219 kB / 1.215 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.8433, allocations: 7.531 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.8435, allocations: 78.55 kB / 1.216 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.8435, allocations: 7.938 kB / 1.216 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.8435, allocations: 5.094 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.8435, allocations: 1.062 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.8438, allocations: 66.75 kB / 1.216 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.8443, allocations: 326.6 kB / 1.216 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.8446, allocations: 90.03 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.8447, allocations: 41.45 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8448, allocations: 5.031 kB / 1.216 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.8448, allocations: 31.62 kB / 1.216 GB, free: 1.246 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.8448, allocations: 0 / 1.216 GB, free: 1.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0005307/0.8453, allocations: 138.2 kB / 1.216 GB, free: 1.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.8454, allocations: 52.16 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.8455, allocations: 121.3 kB / 1.216 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.8456, allocations: 30.83 kB / 1.216 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.8456, allocations: 90.28 kB / 1.217 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.8457, allocations: 23.19 kB / 1.217 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.8457, allocations: 25.98 kB / 1.217 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8459, allocations: 323.9 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.846, allocations: 28.08 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.8461, allocations: 36.16 kB / 1.217 GB, free: 468 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.8463, allocations: 66.31 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8464, allocations: 0 / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003013/0.8467, allocations: 110.1 kB / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8467, allocations: 5.594 kB / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.8467, allocations: 0 / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8467, allocations: 1.125 kB / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.8468, allocations: 14.98 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8468, allocations: 1.156 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.8469, allocations: 11.52 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.8469, allocations: 1.281 kB / 1.217 GB, free: 344 kB / 0.92 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.0001045/0.847, allocations: 125.1 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.8471, allocations: 7.422 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.8471, allocations: 9.5 kB / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.8471, allocations: 1.125 kB / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8471, allocations: 448 / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.8471, allocations: 0 / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.8474, allocations: 194.5 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8474, allocations: 4 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.8475, allocations: 19.28 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8475, allocations: 1.094 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.8475, allocations: 5.125 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8475, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8475, allocations: 1.062 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.8479, allocations: 205.4 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.848, allocations: 83 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.848, allocations: 1.062 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.8481, allocations: 11.39 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.8482, allocations: 16.42 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.8482, allocations: 5.781 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.157e-05/0.8483, allocations: 97.36 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8483, allocations: 0 / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002468/0.8485, allocations: 13.84 kB / 1.218 GB, free: 15.57 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007739/0.8493, allocations: 0.7468 MB / 1.219 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.8496, allocations: 70.53 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8496, allocations: 0 / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.8497, allocations: 39.72 kB / 1.219 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.8501, allocations: 14.2 kB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.8521, allocations: 1.455 MB / 1.22 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.8524, allocations: 0.6929 MB / 1.221 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.176e-05/0.8525, allocations: 8.625 kB / 1.221 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.8526, allocations: 24.14 kB / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.8526, allocations: 0 / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.879, allocations: 2.335 MB / 1.223 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.218, allocations: 3.859 kB / 1.223 GB, free: 11.49 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.238645292352885]