Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00203/0.00203, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002127/0.002127, allocations: 216.3 kB / 23.04 MB, free: 5.078 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 69.11 kB / 1.155 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 176.1 MB / 1.327 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.003167/0.3486, allocations: 0.8366 MB / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.3488, allocations: 39.78 kB / 1.328 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.3489, allocations: 4 kB / 1.328 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.3489, allocations: 7.875 kB / 1.328 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.349, allocations: 15.86 kB / 1.328 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.896e-05/0.3491, allocations: 23.92 kB / 1.328 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3493, allocations: 59.84 kB / 1.328 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3494, allocations: 31.98 kB / 1.328 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/0.3495, allocations: 27.86 kB / 1.328 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.3496, allocations: 27.8 kB / 1.328 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3496, allocations: 8 kB / 1.328 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.3496, allocations: 4 kB / 1.328 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.3497, allocations: 19.92 kB / 1.328 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.3497, allocations: 39.72 kB / 1.328 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.3499, allocations: 71.88 kB / 1.328 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3499, allocations: 4 kB / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3499, allocations: 0 / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3499, allocations: 0 / 1.328 GB, free: 0.8789 MB / 1.014 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.0007048/0.3506, allocations: 302 kB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.3507, allocations: 16.02 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.72e-05/0.3507, allocations: 4.188 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.3508, allocations: 46.69 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3508, allocations: 8.891 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.3511, allocations: 138.4 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3511, allocations: 384 / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3512, allocations: 16.36 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3514, allocations: 105.6 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3514, allocations: 0 / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3514, allocations: 0 / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.3515, allocations: 4 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3516, allocations: 35.98 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008497/0.3524, allocations: 399.8 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3525, allocations: 37.16 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.3526, allocations: 21.92 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3526, allocations: 7.938 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.3526, allocations: 38.5 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.3527, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002396/0.3529, allocations: 53.59 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.353, allocations: 77.11 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.3532, allocations: 165.2 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3532, allocations: 25.95 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3533, allocations: 112 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.3533, allocations: 3.953 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.3534, allocations: 21.7 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3536, allocations: 322.8 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.3536, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.3536, allocations: 25.7 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.564e-05/0.3537, allocations: 33.66 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3537, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/0.3538, allocations: 53.64 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3539, allocations: 11.94 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3539, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3539, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.354, allocations: 7.938 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.354, allocations: 4 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.354, allocations: 8.016 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.354, allocations: 4 kB / 1.33 GB, free: 14.58 MB / 1.029 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.0001254/0.3542, allocations: 110.4 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.3542, allocations: 11.89 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.3543, allocations: 15.8 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3543, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.3543, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3543, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.3549, allocations: 449.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3549, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.355, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.355, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.355, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.355, allocations: 3.984 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.355, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.3551, allocations: 89.83 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.3552, allocations: 15.94 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3552, allocations: 0 / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.3552, allocations: 0 / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.3552, allocations: 0 / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3552, allocations: 4 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001378/0.3554, allocations: 121 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3554, allocations: 8.031 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003711/0.3558, allocations: 4 kB / 1.331 GB, free: 13.66 MB / 1.029 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.0005888/0.3563, allocations: 0.6132 MB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.3565, allocations: 20.03 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.045e-05/0.3565, allocations: 7.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3567, allocations: 11.94 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.3588, allocations: 1.33 MB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.3594, allocations: 0.7002 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.046e-05/0.3594, allocations: 4.438 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.3595, allocations: 31.36 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.3595, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3891, allocations: 1.713 MB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.88, allocations: 7.719 kB / 1.335 GB, free: 9.207 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.789891661028378]