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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.605/2.605, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 70.31 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2486, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001912/0.2505, allocations: 0.8156 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000102/0.2506, allocations: 43.78 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.2507, allocations: 4 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.2507, allocations: 7.875 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.2508, allocations: 7.875 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.354e-05/0.2508, allocations: 19.97 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.2509, allocations: 59.86 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2511, allocations: 43.95 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.2511, allocations: 27.86 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.2512, allocations: 31.78 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2512, allocations: 8 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.2512, allocations: 4 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2512, allocations: 19.94 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.2513, allocations: 31.73 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.2514, allocations: 75.98 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2514, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2514, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2514, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 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.0003995/0.2518, allocations: 371.3 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2519, allocations: 11.97 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.2519, allocations: 38.75 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2519, allocations: 12.75 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2521, allocations: 204.1 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2521, allocations: 4.375 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.2522, allocations: 12.36 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2523, allocations: 89.52 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2523, allocations: 3.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2523, allocations: 7.938 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2523, allocations: 4 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.2524, allocations: 39.92 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.2529, allocations: 440.5 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.059e-05/0.253, allocations: 37.34 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.253, allocations: 21.78 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.253, allocations: 0 / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2531, allocations: 34.56 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2531, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/0.2532, allocations: 61.47 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2533, allocations: 77.36 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2534, allocations: 170.1 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2535, allocations: 25.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.2535, allocations: 101.9 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.2535, allocations: 11.89 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.2536, allocations: 17.72 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2537, allocations: 318.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.2537, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.2538, allocations: 21.72 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.2538, allocations: 21.72 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2538, allocations: 0 / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.33e-05/0.2539, allocations: 65.53 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2539, allocations: 7.938 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2539, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2539, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.254, allocations: 8.062 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.254, allocations: 3.984 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.254, allocations: 11.84 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.254, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 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.113e-05/0.2541, allocations: 121.8 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.2542, allocations: 11.84 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.2542, allocations: 11.88 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2542, allocations: 3.938 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2542, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2542, allocations: 4 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.2546, allocations: 470.7 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2546, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.2546, allocations: 7.984 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2546, allocations: 0 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.2547, allocations: 0 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2547, allocations: 4 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2547, allocations: 64 / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.95e-05/0.2547, allocations: 81.84 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.2548, allocations: 93 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2548, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.2548, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.2549, allocations: 7.938 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.2549, allocations: 4.031 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.712e-05/0.255, allocations: 126.1 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.255, allocations: 0 / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001727/0.2551, allocations: 8 kB / 1.068 GB, free: 9.445 MB / 0.8262 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.0003721/0.2555, allocations: 0.617 MB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.2556, allocations: 27.92 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2556, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.2556, allocations: 4 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2558, allocations: 8 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2569, allocations: 1.315 MB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2572, allocations: 0.6885 MB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.2572, allocations: 12.42 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.2572, allocations: 27.42 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2572, allocations: 0 / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4927/0.7499, allocations: 1.543 MB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/8.399, allocations: 17.23 kB / 1.072 GB, free: 5.113 MB / 0.8262 GB (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) 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) Reference file matches