Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001894/0.001894, allocations: 88.72 kB / 19.44 MB, free: 356 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.002478/0.002478, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.642/1.642, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.318/3.318, allocations: 429.6 MB / 0.673 GB, free: 3.895 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.168e-05, allocations: 3.078 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002291/0.002322, allocations: 0.8022 MB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.002473, allocations: 39.84 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.002527, allocations: 1.281 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.002574, allocations: 7.875 kB / 0.8784 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.73e-05/0.002661, allocations: 11.81 kB / 0.8784 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.308e-05/0.002724, allocations: 24.88 kB / 0.8785 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.002854, allocations: 59.84 kB / 0.8785 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.002985, allocations: 27.91 kB / 0.8786 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.003097, allocations: 41.44 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.003158, allocations: 19.91 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.003183, allocations: 4 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.003196, allocations: 8 kB / 0.8786 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/0.00323, allocations: 17.3 kB / 0.8786 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.00327, allocations: 19.92 kB / 0.8787 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.00341, allocations: 71.7 kB / 0.8787 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.003416, allocations: 5.062 kB / 0.8787 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003416, allocations: 0 / 0.8787 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003421, allocations: 0 / 0.8787 GB, free: 5.34 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.0005011/0.003922, allocations: 309.4 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.003977, allocations: 11.97 kB / 0.879 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.004031, allocations: 12.89 kB / 0.879 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.00427, allocations: 141.6 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.004285, allocations: 4.375 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.004301, allocations: 8.375 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.004487, allocations: 90.55 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.004499, allocations: 4.188 kB / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.004516, allocations: 8.375 kB / 0.8793 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.004523, allocations: 384 / 0.8793 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.004646, allocations: 47.89 kB / 0.8793 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.005255, allocations: 356.4 kB / 0.8797 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.601e-05/0.005331, allocations: 37.2 kB / 0.8797 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.005373, allocations: 17.78 kB / 0.8797 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.005387, allocations: 8.031 kB / 0.8797 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.005424, allocations: 30.56 kB / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.005425, allocations: 0 / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001994/0.005624, allocations: 57.62 kB / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.005694, allocations: 81.11 kB / 0.8799 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.005855, allocations: 124.8 kB / 0.88 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.00588, allocations: 29.7 kB / 0.88 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.005975, allocations: 111.9 kB / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.005987, allocations: 7.938 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.006026, allocations: 17.72 kB / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.006201, allocations: 310.8 kB / 0.8805 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.006224, allocations: 8 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.006255, allocations: 25.89 kB / 0.8805 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.384e-05/0.006309, allocations: 33.66 kB / 0.8805 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.00631, allocations: 0 / 0.8805 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.006411, allocations: 53.64 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.006427, allocations: 11.94 kB / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006432, allocations: 0 / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.006449, allocations: 0 / 0.8806 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.006511, allocations: 4 kB / 0.8806 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.006523, allocations: 11.94 kB / 0.8806 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.006556, allocations: 12 kB / 0.8806 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.00656, allocations: 0 / 0.8806 GB, free: 3.188 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.0001002/0.00666, allocations: 113.8 kB / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.006704, allocations: 7.953 kB / 0.8807 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.006732, allocations: 11.45 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006733, allocations: 0 / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.006749, allocations: 0 / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.006755, allocations: 3.938 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.007207, allocations: 414.5 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007209, allocations: 4.062 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.007232, allocations: 4 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007234, allocations: 0 / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.007243, allocations: 3.938 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.007247, allocations: 4 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007248, allocations: 0 / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.007359, allocations: 77.88 kB / 0.8812 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.007385, allocations: 11.95 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.0074, allocations: 3.938 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.007419, allocations: 0 / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.007435, allocations: 8.031 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.007437, allocations: 0 / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.587e-05/0.007522, allocations: 103.3 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007522, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002137/0.007736, allocations: 8 kB / 0.8814 GB, free: 2.348 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.0001297/0.007866, allocations: 99.23 kB / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.674e-05/0.007953, allocations: 15.94 kB / 0.8815 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.007955, allocations: 0 / 0.8815 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.007967, allocations: 8.125 kB / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.00818, allocations: 12.06 kB / 0.8815 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.008556, allocations: 170.8 kB / 0.8817 GB, free: 2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.997e-05/0.008655, allocations: 79.19 kB / 0.8817 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.008685, allocations: 3.984 kB / 0.8817 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.008722, allocations: 12.5 kB / 0.8818 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/0.008723, allocations: 4 kB / 0.8818 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of Templates: time 0.002815/0.01154, allocations: 355.4 kB / 0.8821 GB, free: 1.539 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.847726478939876]