Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001457/0.001457, allocations: 92.7 kB / 19.44 MB, free: 324 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.00175/0.00175, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.378/3.378, 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 3.938 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.364e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0031/0.003133, allocations: 0.7981 MB / 0.8784 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.003344, allocations: 44.72 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.003423, allocations: 0 / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.66e-05/0.003479, allocations: 8.906 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.003602, allocations: 15.91 kB / 0.8784 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.69e-05/0.003679, allocations: 19.92 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.003849, allocations: 60.97 kB / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.004009, allocations: 27.98 kB / 0.8785 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.004146, allocations: 40.92 kB / 0.8786 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.004215, allocations: 19.91 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.004238, allocations: 4 kB / 0.8786 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.004253, allocations: 9.062 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.004284, allocations: 15.92 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.004332, allocations: 19.92 kB / 0.8787 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.004513, allocations: 84.22 kB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004516, allocations: 0 / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.32e-07/0.004516, allocations: 0.5938 kB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.004521, allocations: 1.281 kB / 0.8787 GB, free: 5.371 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.0006054/0.005126, allocations: 302 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.005171, allocations: 8.031 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.005247, allocations: 17.48 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.005534, allocations: 135 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.005556, allocations: 8.375 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.005573, allocations: 4.375 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.005816, allocations: 95.94 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.005827, allocations: 0.9688 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.005841, allocations: 384 / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.00585, allocations: 4.938 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.005983, allocations: 43.86 kB / 0.8793 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.006709, allocations: 353.8 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.006803, allocations: 41.28 kB / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.006856, allocations: 22.44 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.006864, allocations: 1.125 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.006908, allocations: 30.56 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.564e-06/0.006911, allocations: 3.469 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002673/0.007178, allocations: 57.58 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.007258, allocations: 77.11 kB / 0.8799 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.007487, allocations: 133.8 kB / 0.88 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.007516, allocations: 29.64 kB / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.007651, allocations: 107.9 kB / 0.8801 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.007667, allocations: 7.953 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.007715, allocations: 13.72 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002434/0.007959, allocations: 327.6 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.007985, allocations: 4 kB / 0.8805 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.008024, allocations: 17.97 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.864e-05/0.008092, allocations: 25.72 kB / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008094, allocations: 0 / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000153/0.008247, allocations: 65.58 kB / 0.8806 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.008265, allocations: 4 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.008272, allocations: 0 / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.008295, allocations: 0 / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.008381, allocations: 12 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.008392, allocations: 3.938 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.00843, allocations: 4.062 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.008438, allocations: 4 kB / 0.8806 GB, free: 3.242 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.0001344/0.008573, allocations: 121.8 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.008639, allocations: 3.953 kB / 0.8807 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.008672, allocations: 11.47 kB / 0.8807 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008674, allocations: 96 / 0.8807 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.008682, allocations: 3.984 kB / 0.8807 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.008691, allocations: 7.938 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.009608, allocations: 410.4 kB / 0.8811 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.009614, allocations: 8.062 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.009639, allocations: 0 / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.009646, allocations: 4 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.009659, allocations: 3.938 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009661, allocations: 0 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.009663, allocations: 0 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.009818, allocations: 73.94 kB / 0.8812 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.009851, allocations: 11.89 kB / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.009876, allocations: 7.938 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.009905, allocations: 4 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.009925, allocations: 4.016 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.009928, allocations: 4 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001151/0.01004, allocations: 102.3 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01004, allocations: 4 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000359/0.0104, allocations: 8 kB / 0.8814 GB, free: 2.391 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.0001612/0.01056, allocations: 95.25 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.01068, allocations: 19.88 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01068, allocations: 0 / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.0107, allocations: 8.172 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01095, allocations: 12.06 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.01143, allocations: 158.9 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.01154, allocations: 79.19 kB / 0.8817 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.01158, allocations: 7.984 kB / 0.8817 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.01163, allocations: 8.5 kB / 0.8817 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.01163, allocations: 0 / 0.8817 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of Templates: time 0.00374/0.01537, allocations: 359.3 kB / 0.8821 GB, free: 1.594 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.49193799693603]