Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002657/0.002657, allocations: 220.2 kB / 22.24 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.49 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 65.56 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3572, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002262/0.3594, allocations: 0.8004 MB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.3596, allocations: 39.78 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.3596, allocations: 4 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.3597, allocations: 7.875 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.3598, allocations: 7.922 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.3599, allocations: 19.98 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.36, allocations: 63.78 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3602, allocations: 27.98 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.3602, allocations: 27.86 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.3603, allocations: 31.86 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3603, allocations: 7.984 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.3603, allocations: 8 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.3604, allocations: 15.92 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.3604, allocations: 35.73 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3606, allocations: 79.86 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3606, allocations: 0 / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3606, allocations: 0 / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3607, allocations: 0 / 1.327 GB, free: 328 kB / 1.014 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.0004949/0.3611, allocations: 302 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3612, allocations: 11.97 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3613, allocations: 42.75 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.3613, allocations: 8.891 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3616, allocations: 138.3 kB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3616, allocations: 8.281 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.3616, allocations: 8.375 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.3618, allocations: 93.66 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3618, allocations: 3.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3619, allocations: 8 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3619, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.3619, allocations: 31.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.3626, allocations: 391.8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.3627, allocations: 37.34 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.3627, allocations: 21.77 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3627, allocations: 3.938 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3627, allocations: 34.56 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3627, allocations: 3.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001873/0.3629, allocations: 53.53 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.363, allocations: 93.28 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3632, allocations: 155.6 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3632, allocations: 29.7 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.3633, allocations: 108 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.3633, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3633, allocations: 21.7 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3635, allocations: 318.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.3635, allocations: 7.984 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.3635, allocations: 21.72 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.3636, allocations: 25.72 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3636, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.004e-05/0.3636, allocations: 61.58 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3637, allocations: 11.94 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3637, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3637, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.3637, allocations: 8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3638, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.3638, allocations: 3.953 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3638, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 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.175e-05/0.3639, allocations: 128.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.3639, allocations: 11.98 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.364, allocations: 15.78 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.364, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.364, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.364, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.3644, allocations: 433.9 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3644, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.3644, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3644, allocations: 64 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3644, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3644, allocations: 3.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3645, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.848e-05/0.3645, allocations: 77.84 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.3646, allocations: 19.88 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3646, allocations: 7.938 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.3646, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.3646, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-06/0.3646, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3647, allocations: 125.4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3647, allocations: 4.031 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001946/0.3649, allocations: 12 kB / 1.33 GB, free: 13.12 MB / 1.029 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.0005753/0.3655, allocations: 0.6093 MB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.3656, allocations: 15.94 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3656, allocations: 0 / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.3656, allocations: 8 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.3658, allocations: 12.27 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3672, allocations: 1.336 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.819e-05/0.3673, allocations: 83.12 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.3673, allocations: 8.422 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.3674, allocations: 23.44 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3674, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.3977, allocations: 2.118 MB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.58, allocations: 8.516 kB / 1.334 GB, free: 8.891 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 18.356749746017158]