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.001757/0.001757, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002162/0.002162, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.061/3.061, allocations: 0.49 GB / 0.7923 GB, free: 1.273 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.002087/0.002087, allocations: 71.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.125, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002127/1.127, allocations: 0.8266 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000107/1.127, allocations: 48.42 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/1.127, allocations: 0 / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.651e-05/1.127, allocations: 11.11 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/1.127, allocations: 6.312 kB / 1.322 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.758e-05/1.127, allocations: 18.27 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/1.127, allocations: 63.86 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/1.127, allocations: 25.45 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/1.127, allocations: 29.48 kB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/1.127, allocations: 25.16 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/1.127, allocations: 5.594 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/1.127, allocations: 7.875 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/1.127, allocations: 22.19 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/1.127, allocations: 41.11 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/1.128, allocations: 70.03 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.128, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.128, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.128, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 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.0004166/1.128, allocations: 386 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.128, allocations: 12.89 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.92e-05/1.128, allocations: 3.438 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/1.128, allocations: 48.94 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/1.128, allocations: 7.797 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/1.128, allocations: 197.6 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.128, allocations: 6.484 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/1.128, allocations: 10.06 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/1.128, allocations: 96.02 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/1.128, allocations: 0 / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/1.128, allocations: 3.938 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.128, allocations: 6.438 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/1.129, allocations: 39.52 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/1.129, allocations: 432.5 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/1.129, allocations: 46.44 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/1.129, allocations: 18.88 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/1.129, allocations: 0 / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/1.129, allocations: 48.3 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.129, allocations: 0 / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/1.129, allocations: 50.83 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.129, allocations: 85.3 kB / 1.324 GB, free: 22.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.129, allocations: 172 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/1.129, allocations: 25.7 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/1.13, allocations: 100.5 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-06/1.13, allocations: 3.953 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/1.13, allocations: 16.25 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.626e-05/1.13, allocations: 320.9 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/1.13, allocations: 2.625 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/1.13, allocations: 25.5 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/1.13, allocations: 22.44 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.13, allocations: 2.781 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.919e-05/1.13, allocations: 61.48 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.13, allocations: 9.438 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.13, allocations: 0 / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.13, allocations: 4.062 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/1.13, allocations: 5.094 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.13, allocations: 2.531 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/1.13, allocations: 10.8 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/1.13, allocations: 0 / 1.325 GB, free: 21.86 MB / 1.061 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 5.073e-05/1.13, allocations: 120 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/1.13, allocations: 17.23 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/1.13, allocations: 10.41 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/1.13, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.13, allocations: 6.656 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.13, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/1.13, allocations: 467.8 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.13, allocations: 2.75 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/1.13, allocations: 6.719 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.13, allocations: 0 / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/1.13, allocations: 0 / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.13, allocations: 2.719 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.13, allocations: 4.062 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.202e-05/1.13, allocations: 83.83 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/1.13, allocations: 89.75 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/1.13, allocations: 0 / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/1.13, allocations: 4 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/1.13, allocations: 6.75 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.13, allocations: 8 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.019e-05/1.131, allocations: 118.6 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.131, allocations: 0 / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001826/1.131, allocations: 5.562 kB / 1.326 GB, free: 20.93 MB / 1.061 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.0002666/1.131, allocations: 0.6222 MB / 1.326 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.496e-05/1.131, allocations: 18.19 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.131, allocations: 0 / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/1.131, allocations: 5.188 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/1.131, allocations: 6.594 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/1.132, allocations: 1.341 MB / 1.328 GB, free: 19.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/1.132, allocations: 0.6929 MB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.08e-05/1.132, allocations: 5.438 kB / 1.328 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/1.132, allocations: 25.31 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/1.132, allocations: 4 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/1.151, allocations: 1.631 MB / 1.33 GB, free: 17.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/9.583, allocations: 9.984 kB / 1.33 GB, free: 17.95 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.446766401990317]