Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0007984/0.0007984, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008258/0.0008258, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9226/0.9226, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.739/1.739, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.832e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001934/0.001962, allocations: 0.7935 MB / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.002082, allocations: 39.78 kB / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.002138, allocations: 4 kB / 0.9526 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.002177, allocations: 7.875 kB / 0.9526 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.002248, allocations: 3.938 kB / 0.9526 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.771e-05/0.002306, allocations: 35.83 kB / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.002415, allocations: 59.84 kB / 0.9527 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.002548, allocations: 23.98 kB / 0.9527 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.002625, allocations: 39.89 kB / 0.9527 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.002673, allocations: 15.92 kB / 0.9527 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.002699, allocations: 8 kB / 0.9527 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.002708, allocations: 4 kB / 0.9527 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.002731, allocations: 23.91 kB / 0.9528 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.002762, allocations: 11.94 kB / 0.9528 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.002883, allocations: 83.62 kB / 0.9529 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002886, allocations: 3.938 kB / 0.9529 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.002887, allocations: 0 / 0.9529 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.002891, allocations: 0 / 0.9529 GB, free: 1.852 MB / 0.9011 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.0003893/0.003281, allocations: 306 kB / 0.9532 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.00332, allocations: 16.03 kB / 0.9532 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.003359, allocations: 12.84 kB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.003552, allocations: 129.6 kB / 0.9533 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.003566, allocations: 8.375 kB / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.003578, allocations: 4.375 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.003731, allocations: 95.89 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.00374, allocations: 192 / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.003752, allocations: 4.359 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.003759, allocations: 4.375 kB / 0.9534 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.003839, allocations: 43.86 kB / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.004497, allocations: 356.5 kB / 0.9538 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.004555, allocations: 41.25 kB / 0.9538 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.00459, allocations: 21.77 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.004598, allocations: 4 kB / 0.9539 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.00462, allocations: 30.56 kB / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.004622, allocations: 0 / 0.9539 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.004783, allocations: 45.64 kB / 0.9539 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.004829, allocations: 77.36 kB / 0.954 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.004935, allocations: 144.1 kB / 0.9541 GB, free: 376 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.004946, allocations: 25.7 kB / 0.9542 GB, free: 344 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.005007, allocations: 108 kB / 0.9543 GB, free: 232 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.005015, allocations: 3.953 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.005053, allocations: 25.66 kB / 0.9543 GB, free: 196 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005157, allocations: 314.8 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.005174, allocations: 4 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.005198, allocations: 29.64 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.005243, allocations: 25.66 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.005246, allocations: 8 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.217e-05/0.005328, allocations: 53.64 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.005344, allocations: 7.938 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.005354, allocations: 0 / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.005368, allocations: 7.984 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.005428, allocations: 4 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.005434, allocations: 3.938 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.005455, allocations: 4 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.005459, allocations: 0 / 0.9547 GB, free: 15.71 MB / 0.9167 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 7.426e-05/0.005533, allocations: 117.9 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.005571, allocations: 7.953 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.005591, allocations: 3.469 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.005595, allocations: 3.984 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.005601, allocations: 4 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.005605, allocations: 3.938 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.005955, allocations: 410.4 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.005957, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.00598, allocations: 11.98 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005982, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.00599, allocations: 8 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005991, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.005993, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.815e-05/0.006061, allocations: 73.89 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.006082, allocations: 11.94 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.006095, allocations: 3.938 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.00611, allocations: 4 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.006122, allocations: 0 / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.006125, allocations: 0 / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.006184, allocations: 99.27 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.006184, allocations: 8.031 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002205/0.006404, allocations: 4 kB / 0.9555 GB, free: 14.87 MB / 0.9167 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.0001031/0.006508, allocations: 99.23 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.272e-05/0.00659, allocations: 19.94 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006593, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.006601, allocations: 4 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.006755, allocations: 4 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.007063, allocations: 208.4 kB / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.007124, allocations: 73.05 kB / 0.9559 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.007149, allocations: 16.44 kB / 0.9559 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.007149, allocations: 3.938 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of Templates: time 0.001994/0.009143, allocations: 0.8059 MB / 0.9567 GB, free: 13.58 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 6.534473498351872]