Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.0009447/0.0009446, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00664/0.00664, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 16.72 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0008915/0.2587, allocations: 0.5453 MB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.305e-05/0.2588, allocations: 43.78 kB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.2589, allocations: 0 / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.2589, allocations: 7.922 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.259, allocations: 3.938 kB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.64e-05/0.2591, allocations: 15.98 kB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.38e-05/0.2591, allocations: 59.84 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2593, allocations: 39.97 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.2593, allocations: 15.88 kB / 1.059 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.2594, allocations: 23.78 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2594, allocations: 8 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-06/0.2594, allocations: 0 / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.2594, allocations: 11.94 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.2595, allocations: 53.44 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.206e-05/0.2596, allocations: 67.97 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2596, allocations: 0 / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2596, allocations: 0 / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.2596, allocations: 0 / 1.06 GB, free: 4.035 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003378/0.2599, allocations: 367.3 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.26, allocations: 15.97 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.26, allocations: 46.73 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.26, allocations: 8.844 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.2602, allocations: 192.2 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2602, allocations: 4.375 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2603, allocations: 12.31 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2604, allocations: 91.94 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2604, allocations: 3.938 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.2604, allocations: 0 / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2604, allocations: 8 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.2605, allocations: 39.92 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.261, allocations: 428.5 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.261, allocations: 45.28 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.2611, allocations: 21.83 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-06/0.2611, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2611, allocations: 34.56 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2611, allocations: 0 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.2613, allocations: 61.48 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2613, allocations: 77.11 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2614, allocations: 171.5 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.2615, allocations: 25.7 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.2615, allocations: 103.9 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.2615, allocations: 0 / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.2616, allocations: 17.7 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.2616, allocations: 315.1 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.2617, allocations: 12 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.2617, allocations: 17.7 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.2617, allocations: 25.72 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.719e-05/0.2618, allocations: 61.53 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2618, allocations: 7.938 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2618, allocations: 4.062 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2619, allocations: 0 / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.2619, allocations: 8 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2619, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.262, allocations: 15.84 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.262, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.357e-05/0.262, allocations: 117.8 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.2621, allocations: 11.84 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2621, allocations: 15.8 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2621, allocations: 7.938 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2621, allocations: 0 / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2621, allocations: 0 / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.2625, allocations: 474.8 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2625, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.2625, allocations: 7.984 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2625, allocations: 0 / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.2625, allocations: 4.062 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.2625, allocations: 8 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2625, allocations: 0 / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.877e-05/0.2626, allocations: 77.83 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.2627, allocations: 96.91 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2627, allocations: 0 / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.2627, allocations: 0 / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.2627, allocations: 7.969 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2627, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.2628, allocations: 121.9 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2628, allocations: 0 / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001884/0.263, allocations: 12 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003045/0.2633, allocations: 0.6093 MB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.2634, allocations: 19.94 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2634, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.2634, allocations: 8 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.2636, allocations: 6.531 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009785/0.2645, allocations: 1.344 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.2648, allocations: 0.6965 MB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.2648, allocations: 8.422 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.2648, allocations: 23.44 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2648, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.2749, allocations: 1.357 MB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.2751, allocations: 214.1 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/1.771, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches