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.001805/0.001805, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002123/0.002123, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.233/3.233, allocations: 0.49 GB / 0.7916 GB, free: 33.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.002062/0.002062, allocations: 72.12 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002553/0.3495, allocations: 0.8311 MB / 1.322 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.3497, allocations: 43.78 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.3498, allocations: 7.938 kB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.3498, allocations: 7.875 kB / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.3499, allocations: 11.88 kB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.463e-05/0.35, allocations: 15.98 kB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3501, allocations: 63.83 kB / 1.322 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3503, allocations: 31.92 kB / 1.322 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.3503, allocations: 31.84 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.3504, allocations: 27.8 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3504, allocations: 8 kB / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.3504, allocations: 4 kB / 1.322 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.3505, allocations: 19.92 kB / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.3505, allocations: 31.75 kB / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3507, allocations: 79.86 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.3507, allocations: 3.984 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3507, allocations: 0 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3507, allocations: 0 / 1.322 GB, free: 2.105 MB / 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.000505/0.3512, allocations: 383.1 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.3512, allocations: 15.98 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.3513, allocations: 42.67 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.3513, allocations: 8.891 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3516, allocations: 192.3 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3516, allocations: 8.375 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3516, allocations: 8.375 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3518, allocations: 97.5 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3518, allocations: 3.938 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3518, allocations: 8 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3518, allocations: 0 / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.3519, allocations: 35.98 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.3524, allocations: 436.7 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.3525, allocations: 37.16 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.3525, allocations: 17.92 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.3525, allocations: 7.938 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3526, allocations: 38.55 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3526, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.3528, allocations: 61.48 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3528, allocations: 81.11 kB / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.353, allocations: 153.3 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.353, allocations: 33.7 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3531, allocations: 112.2 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.3531, allocations: 11.88 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.3531, allocations: 17.72 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3533, allocations: 318.8 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3533, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.3534, allocations: 25.7 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.3534, allocations: 33.66 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3534, allocations: 0 / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.541e-05/0.3535, allocations: 53.66 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3535, allocations: 7.938 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3535, allocations: 4 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3535, allocations: 3.984 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.3536, allocations: 7.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3536, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.3536, allocations: 7.953 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.3536, allocations: 4.062 kB / 1.324 GB, free: 15.6 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.079e-05/0.3537, allocations: 113.8 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.3538, allocations: 11.89 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3538, allocations: 15.86 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3538, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3538, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3538, allocations: 4 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3543, allocations: 466.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3543, allocations: 4 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.3543, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3543, allocations: 4 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3543, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3543, allocations: 3.984 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3543, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.3544, allocations: 93.83 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.3545, allocations: 89 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3545, allocations: 3.984 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.3545, allocations: 4 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.3545, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.3545, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3546, allocations: 125.1 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3546, allocations: 3.938 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001875/0.3548, allocations: 12.03 kB / 1.325 GB, free: 14.55 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.0004451/0.3553, allocations: 0.6171 MB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.3553, allocations: 12.09 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3553, allocations: 4.062 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.3554, allocations: 11.88 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.3555, allocations: 8 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3569, allocations: 1.322 MB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3572, allocations: 0.7002 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.3572, allocations: 4.438 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.3573, allocations: 27.36 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3573, allocations: 0 / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3807, allocations: 1.592 MB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.554, allocations: 12.08 kB / 1.329 GB, free: 10.18 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.341637796955183]