Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.002039/0.002039, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002696/0.002696, allocations: 164 kB / 22.46 MB, free: 5.375 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.632/1.632, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.27/3.27, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.608e-05, allocations: 5.797 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002304/0.00234, allocations: 0.8005 MB / 1.001 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001709/0.002511, allocations: 39.8 kB / 1.001 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.0026, allocations: 0 / 1.001 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.899e-05/0.002659, allocations: 7.875 kB / 1.001 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.002768, allocations: 15.91 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.703e-05/0.002825, allocations: 15.98 kB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.002975, allocations: 67.78 kB / 1.001 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.003167, allocations: 31.91 kB / 1.001 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.003287, allocations: 35.91 kB / 1.001 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.00334, allocations: 19.91 kB / 1.001 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.003373, allocations: 4 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.003384, allocations: 8 kB / 1.001 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.00342, allocations: 19.92 kB / 1.001 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.003455, allocations: 15.92 kB / 1.001 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.00362, allocations: 71.7 kB / 1.001 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.003623, allocations: 4 kB / 1.001 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003624, allocations: 3.938 kB / 1.001 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.003637, allocations: 0 / 1.001 GB, free: 6.098 MB / 0.9512 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.0005441/0.004181, allocations: 306 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.004222, allocations: 8.031 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.004267, allocations: 12.89 kB / 1.002 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.004512, allocations: 129.7 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.004525, allocations: 4.375 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.004553, allocations: 12.31 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.004757, allocations: 102 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.004772, allocations: 8.172 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.004785, allocations: 384 / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.004794, allocations: 4.375 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.004886, allocations: 39.86 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.005544, allocations: 356.5 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.005625, allocations: 41.25 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.005667, allocations: 13.78 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.005678, allocations: 3.984 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.005724, allocations: 42.56 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.005726, allocations: 0 / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002176/0.005944, allocations: 53.58 kB / 1.002 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.006008, allocations: 77.11 kB / 1.002 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.006166, allocations: 129.8 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.006185, allocations: 25.7 kB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.006288, allocations: 115.9 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.006297, allocations: 7.953 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.006344, allocations: 17.72 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.006491, allocations: 311.1 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.006515, allocations: 15.98 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.006542, allocations: 17.72 kB / 1.003 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.006591, allocations: 29.66 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006593, allocations: 0 / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.444e-05/0.006688, allocations: 57.58 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.006702, allocations: 4 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.00671, allocations: 7.938 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.006727, allocations: 0 / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.006793, allocations: 16.06 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.006803, allocations: 3.938 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.006832, allocations: 3.938 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.006839, allocations: 4 kB / 1.003 GB, free: 3.945 MB / 0.9512 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.0001004/0.00694, allocations: 113.8 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.006988, allocations: 3.953 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.007017, allocations: 11.45 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007019, allocations: 0 / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.007024, allocations: 0 / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.007033, allocations: 7.938 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.007463, allocations: 410.5 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.007467, allocations: 4 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.007487, allocations: 0 / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007489, allocations: 3.938 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.007498, allocations: 7.938 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007499, allocations: 0 / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.007501, allocations: 3.938 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.271e-05/0.007593, allocations: 73.94 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.007617, allocations: 8 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.007634, allocations: 8.031 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.007651, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.007666, allocations: 4 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.007668, allocations: 0 / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.537e-05/0.007753, allocations: 105 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4e-08/0.007753, allocations: 0 / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002008/0.007954, allocations: 11.95 kB / 1.004 GB, free: 3.109 MB / 0.9512 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.0001213/0.008075, allocations: 99.23 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.008174, allocations: 15.94 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.008176, allocations: 4.125 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.008188, allocations: 4 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.008363, allocations: 11.94 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.008795, allocations: 162.5 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.709e-05/0.008892, allocations: 75.33 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.008926, allocations: 3.984 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.008963, allocations: 20.56 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/0.008964, allocations: 0 / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of Templates: time 0.00301/0.01197, allocations: 340.5 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.88484564051032]