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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001385/0.001385, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.00122, allocations: 67.09 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2499, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001799/0.2518, allocations: 0.8273 MB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000779/0.2526, allocations: 0.8429 MB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.2526, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.2526, allocations: 7.922 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.2527, allocations: 3.938 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.2528, allocations: 23.98 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.2529, allocations: 75.81 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.253, allocations: 19.86 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.2531, allocations: 23.91 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.2532, allocations: 35.84 kB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.2532, allocations: 4 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.2532, allocations: 4 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.2532, allocations: 27.83 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.2533, allocations: 27.86 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.2534, allocations: 71.75 kB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2534, allocations: 0 / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2534, allocations: 0 / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.2534, allocations: 0 / 1.054 GB, free: 6.164 MB / 0.8106 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.0004915/0.2539, allocations: 375.5 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2539, allocations: 8.031 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.254, allocations: 42.69 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.254, allocations: 12.84 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2541, allocations: 172.3 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2541, allocations: 4.375 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2542, allocations: 4.375 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.2544, allocations: 82.14 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2544, allocations: 3.938 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2544, allocations: 8 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2544, allocations: 0 / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2547, allocations: 75.81 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.2551, allocations: 324.6 kB / 1.055 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.2553, allocations: 86.48 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.2554, allocations: 40.92 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2555, allocations: 3.984 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2555, allocations: 30.56 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2555, allocations: 0 / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004346/0.2559, allocations: 141.7 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.256, allocations: 59.34 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.2561, allocations: 121.8 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2561, allocations: 25.7 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.2561, allocations: 92.05 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2562, allocations: 23.64 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.2562, allocations: 17.72 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2563, allocations: 326.8 kB / 1.056 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.2564, allocations: 27.98 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.2565, allocations: 31.97 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.2567, allocations: 69.19 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2567, allocations: 0 / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002666/0.257, allocations: 105.6 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.257, allocations: 8 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.257, allocations: 4 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.2571, allocations: 0 / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2572, allocations: 19.97 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2572, allocations: 0 / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.2573, allocations: 7.906 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.2573, allocations: 3.984 kB / 1.056 GB, free: 3.617 MB / 0.8106 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 6.867e-05/0.2574, allocations: 117.8 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.2574, allocations: 4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.2574, allocations: 12.38 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2574, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2575, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2575, allocations: 7.984 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.2576, allocations: 197.5 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2577, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2578, allocations: 23.91 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2578, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2578, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2578, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2578, allocations: 4 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.2581, allocations: 199.4 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2581, allocations: 88.94 kB / 1.057 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2582, allocations: 7.938 kB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2583, allocations: 8.125 kB / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.2583, allocations: 19.97 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2584, allocations: 4 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.2584, allocations: 95.27 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2584, allocations: 0 / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002159/0.2586, allocations: 11.94 kB / 1.057 GB, free: 2.738 MB / 0.8106 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.0006073/0.2593, allocations: 0.7435 MB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.2595, allocations: 71.94 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2595, allocations: 0 / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2597, allocations: 43.91 kB / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.26, allocations: 9.719 kB / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2616, allocations: 1.456 MB / 1.059 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.2618, allocations: 0.6926 MB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.303e-05/0.2619, allocations: 8 kB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.2619, allocations: 23.42 kB / 1.06 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2619, allocations: 0 / 1.06 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.2726, allocations: 2.042 MB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.2729, allocations: 203.4 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.975, allocations: 0 / 1.062 GB, free: 13.37 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > 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