Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001677/0.001677, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001436/0.001436, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.567/1.567, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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.688/2.688, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 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.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 63.91 kB / 1.056 GB, free: 2.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3801, allocations: 160.8 MB / 1.213 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002467/0.3825, allocations: 0.8214 MB / 1.214 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.3827, allocations: 43.78 kB / 1.214 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.3828, allocations: 4 kB / 1.214 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.006e-05/0.3828, allocations: 11.86 kB / 1.214 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.981e-05/0.3829, allocations: 15.81 kB / 1.214 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.967e-05/0.383, allocations: 23.92 kB / 1.214 GB, free: 476 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3831, allocations: 59.89 kB / 1.214 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3833, allocations: 31.97 kB / 1.214 GB, free: 384 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.234e-05/0.3834, allocations: 27.86 kB / 1.214 GB, free: 356 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.3834, allocations: 31.73 kB / 1.214 GB, free: 324 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3835, allocations: 11.98 kB / 1.214 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.3835, allocations: 8 kB / 1.214 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.3835, allocations: 15.92 kB / 1.214 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.3835, allocations: 31.81 kB / 1.214 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3837, allocations: 75.86 kB / 1.214 GB, free: 180 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3837, allocations: 0 / 1.214 GB, free: 180 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3837, allocations: 0 / 1.214 GB, free: 180 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.3837, allocations: 0 / 1.214 GB, free: 180 kB / 0.9512 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.0006071/0.3843, allocations: 383.1 kB / 1.214 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3844, allocations: 15.97 kB / 1.214 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.3844, allocations: 38.73 kB / 1.215 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.3845, allocations: 12.84 kB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.3847, allocations: 192.2 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3848, allocations: 12.38 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3848, allocations: 8.312 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3849, allocations: 95.88 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.385, allocations: 7.938 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.385, allocations: 0 / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.385, allocations: 0 / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.3851, allocations: 35.98 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.3857, allocations: 440.7 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/0.3858, allocations: 37.16 kB / 1.215 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.3859, allocations: 25.88 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.3859, allocations: 3.984 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3859, allocations: 38.55 kB / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3859, allocations: 0 / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002007/0.3861, allocations: 53.53 kB / 1.215 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.3862, allocations: 81.11 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3863, allocations: 159.9 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3863, allocations: 25.7 kB / 1.216 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.3864, allocations: 104.3 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.3864, allocations: 7.891 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3865, allocations: 21.67 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3866, allocations: 322.8 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.3866, allocations: 4 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.3867, allocations: 25.7 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.3867, allocations: 29.66 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3867, allocations: 0 / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.563e-05/0.3868, allocations: 53.66 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3868, allocations: 13.81 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3868, allocations: 3.938 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3869, allocations: 3.984 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.3869, allocations: 4 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3869, allocations: 4 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.387, allocations: 0 / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.387, allocations: 4.062 kB / 1.216 GB, free: 13.68 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 8.705e-05/0.387, allocations: 113.8 kB / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3871, allocations: 11.89 kB / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3872, allocations: 15.86 kB / 1.216 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3872, allocations: 3.938 kB / 1.216 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3872, allocations: 0 / 1.216 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3872, allocations: 4 kB / 1.216 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.3876, allocations: 478.7 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3876, allocations: 0 / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.3877, allocations: 4 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3877, allocations: 4 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.3877, allocations: 0 / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3877, allocations: 0 / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3877, allocations: 0 / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.858e-05/0.3878, allocations: 85.88 kB / 1.217 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.3879, allocations: 85.06 kB / 1.217 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3879, allocations: 3.984 kB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.3879, allocations: 8 kB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.3879, allocations: 0 / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3879, allocations: 4 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001334/0.3881, allocations: 121.3 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3881, allocations: 0 / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002039/0.3883, allocations: 15.97 kB / 1.217 GB, free: 12.63 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.0004902/0.3888, allocations: 0.6171 MB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.3889, allocations: 16.09 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3889, allocations: 4.062 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.3889, allocations: 7.938 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.389, allocations: 11.94 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3905, allocations: 1.33 MB / 1.219 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3909, allocations: 0.7001 MB / 1.22 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.3909, allocations: 4.438 kB / 1.22 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.391, allocations: 23.42 kB / 1.22 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.391, allocations: 0 / 1.22 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.4154, allocations: 1.588 MB / 1.221 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.498, allocations: 3.438 kB / 1.221 GB, free: 8.27 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.726216211915016]