Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_10_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.004494/0.004494, allocations: 95.92 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 198.1 kB / 16.68 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437.1 MB / 0.7106 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2526, allocations: 151.6 MB / 1.166 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001949/0.2546, allocations: 0.8239 MB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.2547, allocations: 43.78 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.2548, allocations: 4 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.2548, allocations: 7.875 kB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.2549, allocations: 3.938 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.355e-05/0.255, allocations: 23.97 kB / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.655e-05/0.2551, allocations: 59.78 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2552, allocations: 51.92 kB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.2553, allocations: 19.86 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.2553, allocations: 35.8 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2554, allocations: 4 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.2554, allocations: 12 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.2554, allocations: 15.91 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.2554, allocations: 31.81 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.2556, allocations: 79.8 kB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2556, allocations: 0 / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2556, allocations: 4 kB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2556, allocations: 0 / 1.167 GB, free: 5.988 MB / 0.92 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.0004283/0.256, allocations: 375.1 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2561, allocations: 12.03 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.2561, allocations: 42.73 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.2561, allocations: 16.84 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.2564, allocations: 196.2 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2564, allocations: 8.375 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2564, allocations: 4.375 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.2566, allocations: 97.66 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2566, allocations: 3.938 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2566, allocations: 7.938 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2566, allocations: 4 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.2567, allocations: 35.92 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.2572, allocations: 428.7 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.977e-05/0.2573, allocations: 41.28 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.2573, allocations: 29.83 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.2573, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2574, allocations: 30.56 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2574, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.2575, allocations: 57.53 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2576, allocations: 81.36 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.2578, allocations: 163.8 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2578, allocations: 25.7 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.2579, allocations: 100.1 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.2579, allocations: 11.89 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.2579, allocations: 17.7 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2581, allocations: 318.8 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.2581, allocations: 8 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.2581, allocations: 21.7 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.2582, allocations: 29.66 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2582, allocations: 4 kB / 1.169 GB, free: 3.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.945e-05/0.2583, allocations: 61.53 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2583, allocations: 11.94 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.2583, allocations: 0 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2583, allocations: 64 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.2584, allocations: 12 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2584, allocations: 0 / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.2584, allocations: 4 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.2584, allocations: 4 kB / 1.17 GB, free: 3.5 MB / 0.92 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 7.932e-05/0.2585, allocations: 117.8 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.2585, allocations: 11.89 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.2586, allocations: 7.859 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2586, allocations: 4 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2586, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2586, allocations: 4 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.259, allocations: 478.7 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.259, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.259, allocations: 4 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2591, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.2591, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2591, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2591, allocations: 8.062 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.2592, allocations: 77.88 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.2592, allocations: 89.05 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2592, allocations: 4 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.2593, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.2593, allocations: 3.938 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2593, allocations: 8.031 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.684e-05/0.2594, allocations: 116.7 kB / 1.17 GB, free: 2.469 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2594, allocations: 0 / 1.17 GB, free: 2.469 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001831/0.2596, allocations: 11.94 kB / 1.17 GB, free: 2.457 MB / 0.92 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.0003848/0.26, allocations: 0.6172 MB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.846e-05/0.2601, allocations: 23.94 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2601, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.2601, allocations: 8 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.2602, allocations: 4 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2614, allocations: 1.342 MB / 1.172 GB, free: 340 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2618, allocations: 0.6924 MB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.199e-05/0.2618, allocations: 8.422 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.2619, allocations: 23.44 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2619, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7732/1.035, allocations: 1.59 MB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.17, allocations: 7.938 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches