Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001445/0.001445, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.001592/0.001592, allocations: 161 kB / 22.45 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.556/1.556, 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 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 2.815/2.815, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.206e-05, allocations: 4.25 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002096/0.002128, allocations: 0.8297 MB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.002282, allocations: 51.78 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.002342, allocations: 4 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.96e-05/0.002391, allocations: 15.8 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.002471, allocations: 11.88 kB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.566e-05/0.002536, allocations: 23.98 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.002697, allocations: 79.77 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.002853, allocations: 41.27 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.002949, allocations: 55.77 kB / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.003006, allocations: 19.91 kB / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.003038, allocations: 8 kB / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.003051, allocations: 8 kB / 0.9521 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.003083, allocations: 23.91 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.003125, allocations: 23.88 kB / 0.9521 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.003281, allocations: 95.66 kB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.003285, allocations: 3.938 kB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003285, allocations: 4 kB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003289, allocations: 0 / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005226/0.003812, allocations: 326 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.00385, allocations: 12.03 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.00389, allocations: 12.84 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.004128, allocations: 145.8 kB / 0.9527 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004141, allocations: 8.562 kB / 0.9527 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.004163, allocations: 8.375 kB / 0.9527 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.004358, allocations: 112.2 kB / 0.9528 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.004371, allocations: 3.938 kB / 0.9528 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.004385, allocations: 8 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.004392, allocations: 4 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.004491, allocations: 47.91 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.005074, allocations: 372.2 kB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.568e-05/0.005149, allocations: 41.09 kB / 0.9533 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.005192, allocations: 21.84 kB / 0.9533 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.005202, allocations: 3.984 kB / 0.9533 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.005234, allocations: 30.56 kB / 0.9533 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.005235, allocations: 4 kB / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002017/0.005437, allocations: 53.59 kB / 0.9534 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.005497, allocations: 81.05 kB / 0.9535 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.005644, allocations: 133.8 kB / 0.9536 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.005665, allocations: 25.7 kB / 0.9536 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.005762, allocations: 124.1 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.005771, allocations: 3.953 kB / 0.9538 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.005805, allocations: 17.94 kB / 0.9538 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.005989, allocations: 322.8 kB / 0.9541 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.006007, allocations: 8.188 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.006039, allocations: 25.72 kB / 0.9541 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.006083, allocations: 21.72 kB / 0.9541 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006084, allocations: 0 / 0.9541 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.444e-05/0.006178, allocations: 61.58 kB / 0.9542 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.006195, allocations: 6.031 kB / 0.9542 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.006202, allocations: 4 kB / 0.9542 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.006222, allocations: 0 / 0.9542 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.006283, allocations: 4 kB / 0.9542 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.00629, allocations: 4.062 kB / 0.9542 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.006315, allocations: 4 kB / 0.9542 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.006319, allocations: 0 / 0.9542 GB, free: 8.016 MB / 0.8575 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.0001032/0.006422, allocations: 126.6 kB / 0.9543 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.006467, allocations: 7.953 kB / 0.9543 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.006494, allocations: 15.75 kB / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006496, allocations: 0 / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.006501, allocations: 0 / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006504, allocations: 0 / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.006908, allocations: 430.4 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006909, allocations: 0 / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.006937, allocations: 15.98 kB / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006939, allocations: 0 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.006946, allocations: 0 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006947, allocations: 0 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006948, allocations: 0 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.774e-05/0.007046, allocations: 77.89 kB / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.007072, allocations: 11.94 kB / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.007085, allocations: 3.938 kB / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.007102, allocations: 64 / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.00712, allocations: 4 kB / 0.9549 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.007125, allocations: 7.938 kB / 0.9549 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.538e-05/0.007211, allocations: 107.2 kB / 0.955 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.007211, allocations: 0 / 0.955 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000195/0.007406, allocations: 19.89 kB / 0.955 GB, free: 7.133 MB / 0.8575 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.0001274/0.007533, allocations: 95.25 kB / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.00762, allocations: 12 kB / 0.9551 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007622, allocations: 7.875 kB / 0.9551 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.007634, allocations: 8.125 kB / 0.9551 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.007792, allocations: 14.02 kB / 0.9551 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.008165, allocations: 168.9 kB / 0.9553 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.664e-05/0.008252, allocations: 93.97 kB / 0.9554 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.00829, allocations: 12.11 kB / 0.9554 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.008319, allocations: 12.5 kB / 0.9554 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.008319, allocations: 0 / 0.9554 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of Templates: time 0.00306/0.01138, allocations: 342.2 kB / 0.9557 GB, free: 6.34 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.109859250485897]