Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001753/0.001753, allocations: 84.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002031/0.002031, allocations: 165.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.826/2.826, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.008e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001947/0.001977, allocations: 0.8017 MB / 0.9822 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.002102, allocations: 39.78 kB / 0.9823 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.002152, allocations: 4 kB / 0.9823 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.002195, allocations: 7.875 kB / 0.9823 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.04e-05/0.002276, allocations: 3.938 kB / 0.9823 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.686e-05/0.002322, allocations: 27.91 kB / 0.9823 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.002439, allocations: 59.84 kB / 0.9824 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.002585, allocations: 27.97 kB / 0.9824 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.002668, allocations: 43.84 kB / 0.9824 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.002735, allocations: 19.91 kB / 0.9824 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.002762, allocations: 8 kB / 0.9824 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.002776, allocations: 8 kB / 0.9825 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.002799, allocations: 11.92 kB / 0.9825 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.002833, allocations: 19.92 kB / 0.9825 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.002975, allocations: 83.56 kB / 0.9826 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002977, allocations: 4 kB / 0.9826 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002977, allocations: 0 / 0.9826 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.002982, allocations: 0 / 0.9826 GB, free: 9.758 MB / 0.8887 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.000455/0.003437, allocations: 310 kB / 0.9829 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.003478, allocations: 8.031 kB / 0.9829 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.003511, allocations: 8.891 kB / 0.9829 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.003744, allocations: 133.6 kB / 0.983 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.003756, allocations: 4.375 kB / 0.983 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.003773, allocations: 8.375 kB / 0.983 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.003947, allocations: 91.86 kB / 0.9831 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.003959, allocations: 4.188 kB / 0.9831 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.003971, allocations: 4.375 kB / 0.9831 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.003979, allocations: 4.125 kB / 0.9831 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.00406, allocations: 43.92 kB / 0.9832 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.004612, allocations: 352.4 kB / 0.9835 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.004684, allocations: 45.17 kB / 0.9835 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.004729, allocations: 25.83 kB / 0.9836 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.004737, allocations: 0 / 0.9836 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.004761, allocations: 30.56 kB / 0.9836 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.004762, allocations: 0 / 0.9836 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001878/0.00495, allocations: 45.86 kB / 0.9836 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.005007, allocations: 85.14 kB / 0.9837 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.005146, allocations: 141.3 kB / 0.9839 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.005161, allocations: 25.7 kB / 0.9839 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.005236, allocations: 108 kB / 0.984 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.005244, allocations: 3.953 kB / 0.984 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.005282, allocations: 21.7 kB / 0.984 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.005439, allocations: 318.8 kB / 0.9843 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.005458, allocations: 7.938 kB / 0.9843 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.005487, allocations: 21.7 kB / 0.9843 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.005535, allocations: 25.72 kB / 0.9844 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005537, allocations: 3.938 kB / 0.9844 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.747e-05/0.005624, allocations: 57.59 kB / 0.9844 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.005639, allocations: 11.94 kB / 0.9844 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.005646, allocations: 3.984 kB / 0.9844 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.005665, allocations: 0 / 0.9844 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.005732, allocations: 4 kB / 0.9844 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.005743, allocations: 7.938 kB / 0.9844 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.005767, allocations: 0 / 0.9844 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005772, allocations: 64 / 0.9844 GB, free: 7.625 MB / 0.8887 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 9.425e-05/0.005866, allocations: 117.8 kB / 0.9846 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.005909, allocations: 7.953 kB / 0.9846 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.005935, allocations: 7.453 kB / 0.9846 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005936, allocations: 4 kB / 0.9846 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.005943, allocations: 3.938 kB / 0.9846 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005945, allocations: 0 / 0.9846 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.006364, allocations: 414.4 kB / 0.985 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.006368, allocations: 3.984 kB / 0.985 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.006389, allocations: 7.938 kB / 0.985 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006391, allocations: 4.062 kB / 0.985 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.0064, allocations: 3.938 kB / 0.985 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006401, allocations: 0 / 0.985 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.006405, allocations: 4 kB / 0.985 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.421e-05/0.0065, allocations: 69.95 kB / 0.9851 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.00653, allocations: 7.938 kB / 0.9851 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.006544, allocations: 7.938 kB / 0.9851 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.006563, allocations: 4 kB / 0.9851 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.006579, allocations: 0 / 0.9851 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.006583, allocations: 4 kB / 0.9851 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.879e-05/0.006672, allocations: 103.3 kB / 0.9852 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6e-08/0.006672, allocations: 0 / 0.9852 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00019/0.006862, allocations: 11.94 kB / 0.9852 GB, free: 6.777 MB / 0.8887 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.0001212/0.006983, allocations: 95.77 kB / 0.9853 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.007065, allocations: 16 kB / 0.9853 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007067, allocations: 0 / 0.9853 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.007084, allocations: 11.94 kB / 0.9853 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.007232, allocations: 6.312 kB / 0.9853 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.007596, allocations: 178.5 kB / 0.9855 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.507e-05/0.007671, allocations: 75.33 kB / 0.9856 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.5e-05/0.007696, allocations: 0 / 0.9856 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.007723, allocations: 12.5 kB / 0.9856 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/0.007724, allocations: 0 / 0.9856 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of Templates: time 0.002913/0.01064, allocations: 350.7 kB / 0.9859 GB, free: 5.992 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.07485394924879]