Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.005918/0.005918, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001382/0.001382, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 60.12 kB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3483, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002501/0.3509, allocations: 0.8191 MB / 1.208 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001313/0.351, allocations: 43.78 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.3511, allocations: 0 / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.3512, allocations: 11.81 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.3513, allocations: 11.88 kB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.497e-05/0.3513, allocations: 19.97 kB / 1.208 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.3514, allocations: 59.84 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3516, allocations: 47.91 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.3516, allocations: 31.8 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.3517, allocations: 27.86 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3517, allocations: 4 kB / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3517, allocations: 8 kB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.3518, allocations: 15.92 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3518, allocations: 35.75 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3519, allocations: 79.91 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3519, allocations: 0 / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3519, allocations: 7.938 kB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.352, allocations: 0 / 1.208 GB, free: 8.855 MB / 0.9669 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.0003816/0.3523, allocations: 375.2 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3524, allocations: 12.62 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.3524, allocations: 38.73 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.3525, allocations: 12.84 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3527, allocations: 188.2 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.3527, allocations: 8.375 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3527, allocations: 8.375 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3529, allocations: 99.88 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3529, allocations: 3.938 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3529, allocations: 0 / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3529, allocations: 0 / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.353, allocations: 39.92 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.3536, allocations: 436.6 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.3537, allocations: 41.19 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.3537, allocations: 21.83 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3537, allocations: 8 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3537, allocations: 30.56 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3538, allocations: 0 / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001946/0.354, allocations: 57.48 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.354, allocations: 77.11 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3542, allocations: 165 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3542, allocations: 25.7 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.3543, allocations: 108.2 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.3543, allocations: 0 / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3543, allocations: 33.48 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3545, allocations: 318.8 kB / 1.21 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.3545, allocations: 8 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.3545, allocations: 21.7 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.3546, allocations: 29.66 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3546, allocations: 0 / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.772e-05/0.3547, allocations: 65.53 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3547, allocations: 7.938 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3547, allocations: 0 / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3547, allocations: 0 / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.3548, allocations: 8 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3548, allocations: 0 / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.3549, allocations: 3.938 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3549, allocations: 8.062 kB / 1.211 GB, free: 6.371 MB / 0.9669 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 7.376e-05/0.355, allocations: 113.8 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.355, allocations: 11.84 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.355, allocations: 11.86 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.355, allocations: 4 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3551, allocations: 0 / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3551, allocations: 0 / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.3554, allocations: 474.7 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3555, allocations: 0 / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.3555, allocations: 4 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3555, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3555, allocations: 4 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3555, allocations: 0 / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3555, allocations: 7.984 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.373e-05/0.3556, allocations: 81.84 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.3557, allocations: 85 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.3557, allocations: 4 kB / 1.211 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.3557, allocations: 4 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.3557, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3557, allocations: 4 kB / 1.211 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.3558, allocations: 115.2 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3558, allocations: 4 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000185/0.356, allocations: 8.031 kB / 1.212 GB, free: 5.34 MB / 0.9669 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.0003654/0.3564, allocations: 0.6209 MB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.263e-05/0.3565, allocations: 16.09 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3565, allocations: 4 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.3565, allocations: 7.938 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3567, allocations: 17.8 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3579, allocations: 1.331 MB / 1.213 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3581, allocations: 0.6968 MB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.3582, allocations: 12.5 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.3582, allocations: 19.44 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of SimCode: time 4.3e-07/0.3582, allocations: 0 / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.3744, allocations: 1.603 MB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.766, allocations: 3.984 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches