Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002383/0.002383, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002006/0.002006, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.412/3.412, allocations: 429.4 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.95e-05, allocations: 10.23 kB / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002106/0.002146, allocations: 0.8051 MB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.002279, allocations: 45.66 kB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.002333, allocations: 4 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.002373, allocations: 12.08 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.002461, allocations: 9.219 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.196e-05/0.002523, allocations: 15.98 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.002655, allocations: 67.83 kB / 0.8784 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.002778, allocations: 27.91 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.002865, allocations: 36.95 kB / 0.8784 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.002935, allocations: 31.83 kB / 0.8785 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.002955, allocations: 4 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.002967, allocations: 8.656 kB / 0.8785 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.00299, allocations: 17.52 kB / 0.8785 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.003026, allocations: 19.92 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.003162, allocations: 71.75 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003164, allocations: 0 / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003165, allocations: 0 / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.003169, allocations: 2.469 kB / 0.8786 GB, free: 5.504 MB / 0.8386 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.0005354/0.003705, allocations: 408 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.003746, allocations: 8.031 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.003797, allocations: 20.89 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.004022, allocations: 136.4 kB / 0.8791 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.004036, allocations: 4.375 kB / 0.8791 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.004052, allocations: 10.44 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.004235, allocations: 99.95 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.004243, allocations: 192 / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.004256, allocations: 4.375 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004261, allocations: 384 / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.132e-05/0.004352, allocations: 48.5 kB / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.005012, allocations: 475.5 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.005113, allocations: 62.25 kB / 0.8798 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.005167, allocations: 31.5 kB / 0.8798 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.005179, allocations: 0 / 0.8798 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.005218, allocations: 41.38 kB / 0.8799 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.005219, allocations: 0 / 0.8799 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002063/0.005425, allocations: 45.64 kB / 0.8799 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.005499, allocations: 81.05 kB / 0.88 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.005697, allocations: 200.5 kB / 0.8802 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.005717, allocations: 25.7 kB / 0.8802 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.005835, allocations: 158.7 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.005843, allocations: 4.203 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.005889, allocations: 27.38 kB / 0.8804 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.006156, allocations: 0.4923 MB / 0.8809 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.006176, allocations: 4 kB / 0.8809 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.006212, allocations: 23.38 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.776e-05/0.006269, allocations: 35.36 kB / 0.8809 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006271, allocations: 0 / 0.8809 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.006373, allocations: 57.59 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.006387, allocations: 4 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.006395, allocations: 8.062 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.006409, allocations: 0 / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.006473, allocations: 7.984 kB / 0.881 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.006481, allocations: 3.938 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.006513, allocations: 11.88 kB / 0.881 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.006518, allocations: 0 / 0.881 GB, free: 2.758 MB / 0.8386 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 0.0001235/0.006641, allocations: 160.6 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.006683, allocations: 7.953 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.006712, allocations: 7.469 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.006716, allocations: 4 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.00672, allocations: 4 kB / 0.8812 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.006727, allocations: 7.922 kB / 0.8812 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.007263, allocations: 0.5539 MB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007264, allocations: 0 / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.007286, allocations: 4 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.00729, allocations: 7.922 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.007298, allocations: 3.938 kB / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007299, allocations: 0 / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0073, allocations: 4 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.007419, allocations: 92.09 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.007446, allocations: 11.94 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.007464, allocations: 7.938 kB / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.00748, allocations: 0 / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.007498, allocations: 0 / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.0075, allocations: 4 kB / 0.8819 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001051/0.007605, allocations: 143.2 kB / 0.882 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007605, allocations: 0 / 0.882 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001807/0.007786, allocations: 12 kB / 0.882 GB, free: 1.641 MB / 0.8386 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.0001311/0.007917, allocations: 99.28 kB / 0.8821 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.008018, allocations: 27.61 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.008024, allocations: 4 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.008043, allocations: 11.69 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.008198, allocations: 4 kB / 0.8822 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.008561, allocations: 174.6 kB / 0.8823 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.281e-05/0.008654, allocations: 84.12 kB / 0.8824 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.00868, allocations: 4 kB / 0.8824 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.008705, allocations: 8.5 kB / 0.8824 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/0.008705, allocations: 0 / 0.8824 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of Templates: time 0.00346/0.01217, allocations: 364 kB / 0.8828 GB, free: 0.8008 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.412932958104648]