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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 105.5 kB / 16.45 MB, free: 6.504 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.002145/0.002145, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.483/1.483, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.52 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002128/0.3555, allocations: 0.8335 MB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.3556, allocations: 43.84 kB / 1.305 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.3557, allocations: 0 / 1.305 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.3557, allocations: 7.875 kB / 1.305 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.3558, allocations: 19.8 kB / 1.305 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.412e-05/0.3558, allocations: 15.98 kB / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.356, allocations: 55.91 kB / 1.305 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3561, allocations: 31.97 kB / 1.305 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.3562, allocations: 31.8 kB / 1.305 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.3562, allocations: 31.78 kB / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3562, allocations: 12 kB / 1.305 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.3562, allocations: 4 kB / 1.305 GB, free: 468 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.3563, allocations: 15.94 kB / 1.305 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.3563, allocations: 31.8 kB / 1.305 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3564, allocations: 79.8 kB / 1.305 GB, free: 340 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3564, allocations: 0 / 1.305 GB, free: 340 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3564, allocations: 0 / 1.305 GB, free: 340 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.3564, allocations: 0 / 1.305 GB, free: 340 kB / 0.9981 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.0004767/0.3569, allocations: 387.1 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.357, allocations: 12.92 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.357, allocations: 42.75 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.357, allocations: 8.891 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3573, allocations: 192.2 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3573, allocations: 8.25 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3573, allocations: 12.38 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3574, allocations: 87.95 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3575, allocations: 3.938 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3575, allocations: 4 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.3575, allocations: 7.984 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.3576, allocations: 39.92 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.3581, allocations: 436.7 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.3582, allocations: 45.25 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.3582, allocations: 17.72 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.3583, allocations: 0 / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3583, allocations: 38.56 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3583, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001702/0.3585, allocations: 57.77 kB / 1.306 GB, free: 14.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.3585, allocations: 81.11 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3587, allocations: 159.1 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3587, allocations: 25.7 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.3588, allocations: 104 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.3588, allocations: 11.94 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3588, allocations: 17.72 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.359, allocations: 318.8 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.359, allocations: 4 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.359, allocations: 25.66 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.3591, allocations: 21.72 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3591, allocations: 0 / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.732e-05/0.3592, allocations: 65.58 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3592, allocations: 7.938 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3592, allocations: 64 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3592, allocations: 8 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.3593, allocations: 4 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3593, allocations: 0 / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.3593, allocations: 7.953 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.3593, allocations: 0 / 1.307 GB, free: 13.84 MB / 1.014 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 9.624e-05/0.3594, allocations: 121.8 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.3594, allocations: 11.89 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.3595, allocations: 15.81 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3595, allocations: 0 / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3595, allocations: 4 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3595, allocations: 0 / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.3599, allocations: 470.8 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3599, allocations: 0 / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.36, allocations: 7.984 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.36, allocations: 0 / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.36, allocations: 3.938 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.36, allocations: 8.062 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.36, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.992e-05/0.3601, allocations: 77.89 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/0.3601, allocations: 92.98 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3601, allocations: 0 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.3602, allocations: 0 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.3602, allocations: 12.03 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.3602, allocations: 3.938 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000105/0.3603, allocations: 122.3 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 0 / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001908/0.3605, allocations: 11.95 kB / 1.308 GB, free: 12.79 MB / 1.014 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.0004479/0.3609, allocations: 0.6171 MB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.361, allocations: 23.92 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.361, allocations: 0 / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.361, allocations: 4 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.3612, allocations: 5.547 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3626, allocations: 1.339 MB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3629, allocations: 0.6929 MB / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.363, allocations: 8.422 kB / 1.311 GB, free: 9.941 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.363, allocations: 19.44 kB / 1.311 GB, free: 9.922 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.363, allocations: 0 / 1.311 GB, free: 9.922 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.3894, allocations: 1.596 MB / 1.312 GB, free: 8.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.58, allocations: 1.172 kB / 1.312 GB, free: 8.43 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.188650493044406]