Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001607/0.001607, allocations: 185 kB / 17.34 MB, free: 5.629 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 68.08 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8221, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00197/0.8241, allocations: 0.8178 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.8243, allocations: 45.08 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.8243, allocations: 2.312 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.8244, allocations: 9.469 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.8245, allocations: 13.7 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.36e-05/0.8245, allocations: 20.19 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.8247, allocations: 59.61 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.8248, allocations: 37.77 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.8249, allocations: 25.86 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.825, allocations: 30.77 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.825, allocations: 6.406 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.825, allocations: 5.969 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.825, allocations: 20.34 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.8251, allocations: 40.64 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.8252, allocations: 65.94 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8252, allocations: 0.5156 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8252, allocations: 0.8438 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.8252, allocations: 0 / 1.09 GB, free: 4.758 MB / 0.8575 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.0003553/0.8256, allocations: 381 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8256, allocations: 9.281 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.8257, allocations: 13.77 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.8258, allocations: 195.5 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.8259, allocations: 4 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.8259, allocations: 9.469 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.826, allocations: 91.44 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.826, allocations: 192 / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.8261, allocations: 8.719 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.8261, allocations: 2 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.8262, allocations: 35.62 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.8266, allocations: 438.6 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.895e-05/0.8267, allocations: 50.06 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.8267, allocations: 16.8 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.8267, allocations: 5.031 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.8267, allocations: 44.44 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8267, allocations: 0 / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.8269, allocations: 51.97 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.8269, allocations: 82.88 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.8271, allocations: 159.3 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.8271, allocations: 26.7 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.8272, allocations: 107.8 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.8272, allocations: 9.75 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.8272, allocations: 17.95 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.8273, allocations: 320.3 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.8273, allocations: 3.672 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.8273, allocations: 19.84 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.8274, allocations: 31.55 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8274, allocations: 0 / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.249e-05/0.8274, allocations: 61.66 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8275, allocations: 5.281 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8275, allocations: 5.562 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8275, allocations: 1.125 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.8276, allocations: 6.984 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.8276, allocations: 3.984 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.8276, allocations: 10.5 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.8276, allocations: 0.9375 kB / 1.092 GB, free: 2.68 MB / 0.8575 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 5.175e-05/0.8277, allocations: 118.7 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.8277, allocations: 8.641 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.8278, allocations: 16.67 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8278, allocations: 1.672 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8278, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.8278, allocations: 1.094 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.8281, allocations: 471.4 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8281, allocations: 0.5156 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.8281, allocations: 3.984 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8281, allocations: 1.156 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.8281, allocations: 5.062 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8281, allocations: 0 / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8281, allocations: 1.609 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.255e-05/0.8282, allocations: 88.41 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.8282, allocations: 90.83 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.8282, allocations: 1.625 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.8283, allocations: 5 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.8283, allocations: 1.719 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.8283, allocations: 1.156 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.656e-05/0.8284, allocations: 120.9 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8284, allocations: 4.031 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000189/0.8286, allocations: 7.469 kB / 1.093 GB, free: 1.762 MB / 0.8575 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 8.043e-05/0.8287, allocations: 98.12 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.694e-05/0.8288, allocations: 23.41 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8288, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.8288, allocations: 9.016 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.829, allocations: 12.22 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.8293, allocations: 193.7 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.8295, allocations: 0.6933 MB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.8295, allocations: 11.34 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8295, allocations: 0.9375 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.002538/0.832, allocations: 0.8726 MB / 1.095 GB, free: 16.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches