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.001482/0.001482, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001286/0.001286, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9781/0.9781, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 2.179/2.179, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.403e-06/1.403e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.391e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001461/0.001485, allocations: 0.8154 MB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.001595, allocations: 40.88 kB / 0.879 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.001641, allocations: 0 / 0.879 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.001674, allocations: 16.98 kB / 0.8791 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.001747, allocations: 7.938 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.001787, allocations: 15.98 kB / 0.8791 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.001878, allocations: 61.31 kB / 0.8791 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.001997, allocations: 39.89 kB / 0.8792 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.00207, allocations: 31.92 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.002122, allocations: 23.89 kB / 0.8792 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.002144, allocations: 11.03 kB / 0.8792 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-06/0.002151, allocations: 4 kB / 0.8792 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.002169, allocations: 11.94 kB / 0.8793 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.002198, allocations: 27.84 kB / 0.8793 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.002292, allocations: 43.83 kB / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002294, allocations: 0 / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002295, allocations: 0 / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.002301, allocations: 0 / 0.8793 GB, free: 5.52 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.0004187/0.00272, allocations: 409 kB / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.002757, allocations: 9.688 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.002798, allocations: 16.89 kB / 0.8797 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.002957, allocations: 140.4 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.002968, allocations: 4.375 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.002983, allocations: 8.875 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.003103, allocations: 85.61 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.003109, allocations: 1.531 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.003119, allocations: 4.375 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.003128, allocations: 8.359 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/0.003183, allocations: 29.44 kB / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.00357, allocations: 454.3 kB / 0.8804 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.268e-05/0.003623, allocations: 66.3 kB / 0.8805 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.003656, allocations: 23.44 kB / 0.8805 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.003663, allocations: 0 / 0.8805 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.003683, allocations: 37.39 kB / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.003684, allocations: 0 / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001357/0.00382, allocations: 45.62 kB / 0.8806 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.003853, allocations: 81.11 kB / 0.8807 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.003953, allocations: 191.7 kB / 0.8809 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.003961, allocations: 25.7 kB / 0.8809 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.004022, allocations: 162.9 kB / 0.881 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.004029, allocations: 11.95 kB / 0.8811 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.004056, allocations: 23.38 kB / 0.8811 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.004159, allocations: 492.1 kB / 0.8815 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.004173, allocations: 7.984 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.004192, allocations: 23.38 kB / 0.8816 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.004225, allocations: 23.38 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004226, allocations: 0 / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.383e-05/0.00428, allocations: 53.58 kB / 0.8816 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.004293, allocations: 12.06 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.004298, allocations: 0 / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.004309, allocations: 0 / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.004362, allocations: 8 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.004368, allocations: 3.938 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.004384, allocations: 7.938 kB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.004387, allocations: 0 / 0.8817 GB, free: 2.852 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 6.106e-05/0.004448, allocations: 160.5 kB / 0.8818 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.004471, allocations: 15.88 kB / 0.8818 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.004492, allocations: 7.469 kB / 0.8819 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004495, allocations: 8 kB / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.004498, allocations: 0 / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.004501, allocations: 3.938 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.004759, allocations: 0.5383 MB / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.00476, allocations: 0 / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.004772, allocations: 4 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.004773, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.004781, allocations: 11.94 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.004782, allocations: 0 / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.004784, allocations: 3.984 kB / 0.8824 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.336e-05/0.004848, allocations: 96.08 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.004862, allocations: 7.953 kB / 0.8825 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.004872, allocations: 3.938 kB / 0.8825 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.004881, allocations: 0 / 0.8825 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.004894, allocations: 7.984 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.004897, allocations: 4 kB / 0.8825 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.004942, allocations: 143.2 kB / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004942, allocations: 0 / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000128/0.00507, allocations: 4 kB / 0.8827 GB, free: 1.75 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 8.907e-05/0.005159, allocations: 99.28 kB / 0.8828 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.005237, allocations: 19.62 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005239, allocations: 0 / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.005251, allocations: 19.67 kB / 0.8828 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.005363, allocations: 4 kB / 0.8828 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.005623, allocations: 166.6 kB / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.005656, allocations: 64.03 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.005681, allocations: 8.234 kB / 0.883 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.005702, allocations: 12.5 kB / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.005703, allocations: 0 / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of Templates: time 0.001838/0.007541, allocations: 353.1 kB / 0.8834 GB, free: 0.9453 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.44848807901144]