Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001157/0.001157, allocations: 109 kB / 17.54 MB, free: 4.746 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.001184/0.001184, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 476.7 MB / 0.7628 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 71.89 kB / 1.107 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8384, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001688/0.8401, allocations: 0.8466 MB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001011/0.8402, allocations: 40.89 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.8402, allocations: 1.5 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.8403, allocations: 9.094 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.8403, allocations: 6.484 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.667e-05/0.8404, allocations: 20.7 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.8405, allocations: 70.95 kB / 1.272 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.8406, allocations: 31.73 kB / 1.272 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.8407, allocations: 22.14 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.8407, allocations: 30.11 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.8408, allocations: 6.156 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.8408, allocations: 5.844 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.8408, allocations: 16.97 kB / 1.272 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.8409, allocations: 36 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.841, allocations: 73.23 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.841, allocations: 0 / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.908e-06/0.841, allocations: 5.422 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.841, allocations: 3.938 kB / 1.273 GB, free: 6.977 MB / 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.0004089/0.8414, allocations: 375.9 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8414, allocations: 9.719 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.8415, allocations: 43.39 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.8415, allocations: 17.56 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.8417, allocations: 196.5 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8417, allocations: 4.062 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.8417, allocations: 12.72 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.8419, allocations: 87.05 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8419, allocations: 3.938 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.8419, allocations: 4.906 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8419, allocations: 3.625 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.842, allocations: 39.12 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.8424, allocations: 437.9 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.407e-05/0.8425, allocations: 45.91 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.8425, allocations: 16.33 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.8425, allocations: 0 / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.8426, allocations: 41.02 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.8426, allocations: 0 / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.8427, allocations: 57.42 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.8427, allocations: 81.92 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.8429, allocations: 159 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.8429, allocations: 25.7 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.8429, allocations: 104.3 kB / 1.274 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.8429, allocations: 10.17 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.843, allocations: 17.58 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.843, allocations: 320.2 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.843, allocations: 4.016 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.8431, allocations: 23.5 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.8431, allocations: 23.78 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8431, allocations: 4 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.695e-05/0.8432, allocations: 61.97 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8432, allocations: 11.25 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8432, allocations: 0.7188 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8432, allocations: 5.125 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.8433, allocations: 7.5 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8433, allocations: 4.844 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.8433, allocations: 5.938 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.8433, allocations: 1.656 kB / 1.275 GB, free: 4.848 MB / 0.9981 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 4.919e-05/0.8434, allocations: 122.9 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.8434, allocations: 19.66 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.8434, allocations: 12.36 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8434, allocations: 1.094 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8434, allocations: 0 / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.8434, allocations: 2.781 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.8437, allocations: 470.7 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8437, allocations: 1.375 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.8437, allocations: 2.406 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8437, allocations: 0.875 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.8437, allocations: 1 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8437, allocations: 1.156 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8437, allocations: 0.9062 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.173e-05/0.8438, allocations: 84.91 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.8438, allocations: 88.11 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.8438, allocations: 0.875 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.8439, allocations: 4.75 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.8439, allocations: 4.688 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.8439, allocations: 1.656 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.881e-05/0.844, allocations: 120.7 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.844, allocations: 0 / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001755/0.8441, allocations: 7.812 kB / 1.276 GB, free: 3.93 MB / 0.9981 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.0002375/0.8444, allocations: 0.6169 MB / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.545e-05/0.8444, allocations: 18.16 kB / 1.276 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8444, allocations: 4.156 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.8445, allocations: 5.859 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.8446, allocations: 10.97 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/0.8455, allocations: 1.332 MB / 1.278 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.8458, allocations: 0.6969 MB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.8458, allocations: 7.734 kB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.8459, allocations: 20.66 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.8459, allocations: 0 / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.8678, allocations: 1.572 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/7.652, allocations: 12.89 kB / 1.28 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.004357155999969]