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.001653/0.001653, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001755/0.001755, allocations: 220 kB / 23.04 MB, free: 5.078 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 33.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="cs",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.00203/0.00203, allocations: 64.72 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3383, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002186/0.3405, allocations: 0.831 MB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.3406, allocations: 47.78 kB / 1.328 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.3406, allocations: 0 / 1.328 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.349e-05/0.3407, allocations: 11.88 kB / 1.328 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/0.3408, allocations: 11.86 kB / 1.328 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.351e-05/0.3408, allocations: 15.98 kB / 1.328 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3409, allocations: 63.84 kB / 1.328 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3411, allocations: 31.97 kB / 1.328 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.3412, allocations: 35.8 kB / 1.328 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.3412, allocations: 23.86 kB / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3412, allocations: 4 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.3412, allocations: 8 kB / 1.328 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.3413, allocations: 15.92 kB / 1.328 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3413, allocations: 43.69 kB / 1.328 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3415, allocations: 83.78 kB / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.3415, allocations: 0 / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3415, allocations: 0 / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3415, allocations: 0 / 1.328 GB, free: 0.7695 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.0004442/0.3419, allocations: 302 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3419, allocations: 8.031 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.342, allocations: 4.188 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.342, allocations: 42.73 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.342, allocations: 16.89 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3422, allocations: 126.4 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3422, allocations: 8.375 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3423, allocations: 8.312 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3424, allocations: 99.61 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3424, allocations: 3.984 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3424, allocations: 0 / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3424, allocations: 0 / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.3425, allocations: 43.92 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.3431, allocations: 399.8 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/0.3432, allocations: 41.25 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.3432, allocations: 25.77 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.3432, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3432, allocations: 38.5 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3432, allocations: 0 / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.3434, allocations: 49.59 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.3435, allocations: 77.11 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3437, allocations: 169.5 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3437, allocations: 25.7 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.3438, allocations: 108 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.3438, allocations: 7.953 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3438, allocations: 21.7 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.344, allocations: 314.8 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.344, allocations: 8 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.344, allocations: 21.64 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.3441, allocations: 29.72 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3441, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.968e-05/0.3442, allocations: 61.67 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3442, allocations: 7.938 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3442, allocations: 7.984 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3442, allocations: 4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.3443, allocations: 7.938 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3443, allocations: 4.062 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.3444, allocations: 7.953 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.3444, allocations: 0 / 1.33 GB, free: 14.48 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.898e-05/0.3445, allocations: 114.4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.3445, allocations: 11.89 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.3445, allocations: 15.8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3445, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3445, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3445, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.345, allocations: 449.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.345, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.345, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.345, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.345, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.345, allocations: 3.938 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.345, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.199e-05/0.3451, allocations: 81.94 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.3451, allocations: 15.91 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3452, allocations: 3.984 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.3452, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.3452, allocations: 4 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3452, allocations: 0 / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001032/0.3453, allocations: 129 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3453, allocations: 0 / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001904/0.3455, allocations: 8 kB / 1.331 GB, free: 13.56 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.0005035/0.346, allocations: 0.6171 MB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.3461, allocations: 15.94 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3461, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.3461, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.3463, allocations: 9.562 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3477, allocations: 1.338 MB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.348, allocations: 0.6924 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.3481, allocations: 4.438 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.3481, allocations: 27.42 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 8.71e-07/0.3481, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.3703, allocations: 1.729 MB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.81, allocations: 9.062 kB / 1.335 GB, free: 9.105 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.899275165982544]