Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001051/0.001051, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001253/0.001253, allocations: 169 kB / 23.49 MB, free: 1.059 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.049/1.049, 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.185/2.185, allocations: 429.5 MB / 0.6736 GB, free: 4.008 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.799e-05, allocations: 6.531 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.00137/0.001388, allocations: 0.8083 MB / 0.879 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.001499, allocations: 44.38 kB / 0.879 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.001547, allocations: 0 / 0.879 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.001586, allocations: 13.78 kB / 0.879 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.00166, allocations: 9.953 kB / 0.8791 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.094e-05/0.001701, allocations: 23.97 kB / 0.8791 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.001789, allocations: 65.33 kB / 0.8791 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.001902, allocations: 31.97 kB / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.001974, allocations: 40.45 kB / 0.8792 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.002026, allocations: 19.92 kB / 0.8792 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.002046, allocations: 5.094 kB / 0.8792 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.002054, allocations: 8 kB / 0.8792 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.002074, allocations: 15.91 kB / 0.8793 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.002102, allocations: 20.59 kB / 0.8793 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.953e-05/0.002192, allocations: 45.25 kB / 0.8793 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002194, allocations: 0 / 0.8793 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002195, allocations: 4 kB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.0022, allocations: 0 / 0.8793 GB, free: 5.5 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.0003369/0.002536, allocations: 408.2 kB / 0.8797 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.002574, allocations: 12.03 kB / 0.8797 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.002614, allocations: 16.83 kB / 0.8797 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.002768, allocations: 140.4 kB / 0.8799 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.002777, allocations: 384 / 0.8799 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.002789, allocations: 12.38 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.0029, allocations: 89.53 kB / 0.88 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.002907, allocations: 4.172 kB / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.002918, allocations: 4.375 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.002924, allocations: 384 / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.002972, allocations: 28.86 kB / 0.88 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.003411, allocations: 462.3 kB / 0.8804 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.003468, allocations: 55.16 kB / 0.8805 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.00351, allocations: 24.59 kB / 0.8805 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.003521, allocations: 4.094 kB / 0.8805 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.003543, allocations: 37.33 kB / 0.8806 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.003544, allocations: 1.062 kB / 0.8806 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.003704, allocations: 50.69 kB / 0.8806 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.003744, allocations: 77.11 kB / 0.8807 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.003849, allocations: 192.8 kB / 0.8809 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.003858, allocations: 29.17 kB / 0.8809 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.003923, allocations: 154.7 kB / 0.881 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.003931, allocations: 11.89 kB / 0.8811 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.003961, allocations: 19.38 kB / 0.8811 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.004076, allocations: 0.4923 MB / 0.8816 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.004087, allocations: 0 / 0.8816 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.004107, allocations: 19.38 kB / 0.8816 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.004146, allocations: 32.19 kB / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004148, allocations: 0 / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.837e-05/0.004206, allocations: 54.23 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.004219, allocations: 7.812 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004224, allocations: 0 / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.004237, allocations: 7.938 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.00429, allocations: 4 kB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.004295, allocations: 5.281 kB / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.00431, allocations: 4 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.004315, allocations: 3.984 kB / 0.8817 GB, free: 2.84 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.208e-05/0.004377, allocations: 157.1 kB / 0.8818 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.004399, allocations: 9.109 kB / 0.8818 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.004428, allocations: 11.41 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.004429, allocations: 0 / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.004432, allocations: 320 / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.004437, allocations: 11.94 kB / 0.8819 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.004704, allocations: 0.5461 MB / 0.8824 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.004705, allocations: 0 / 0.8824 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.004716, allocations: 4 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.004718, allocations: 0 / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.004724, allocations: 3.938 kB / 0.8824 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.004725, allocations: 0 / 0.8824 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004726, allocations: 0 / 0.8824 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.347e-05/0.00479, allocations: 92.02 kB / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.004808, allocations: 8.047 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.00482, allocations: 11.92 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-06/0.004829, allocations: 4 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.004843, allocations: 0 / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-06/0.004844, allocations: 0 / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.004893, allocations: 139.2 kB / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004893, allocations: 0 / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001305/0.005023, allocations: 11.94 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 6.661e-05/0.00509, allocations: 95.25 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.005166, allocations: 31.61 kB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005167, allocations: 0 / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-06/0.005177, allocations: 11.69 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.0001067/0.005284, 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.0002568/0.005541, allocations: 170.6 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.005574, allocations: 59.34 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.005598, allocations: 7.984 kB / 0.883 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.005617, allocations: 8.75 kB / 0.883 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of SimCode: time 6.02e-07/0.005618, allocations: 4 kB / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of Templates: time 0.001867/0.007485, allocations: 356.9 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.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.413910574046895]