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.001861/0.001861, allocations: 113 kB / 16.46 MB, free: 6.453 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.002435/0.002435, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",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.00225/0.00225, allocations: 71.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9143/0.9166, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002182/0.9188, allocations: 0.835 MB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.9189, allocations: 43.78 kB / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.919, allocations: 0 / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.919, allocations: 7.875 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.9191, allocations: 11.88 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.114e-05/0.9191, allocations: 15.98 kB / 1.279 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.9192, allocations: 71.81 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.9193, allocations: 23.98 kB / 1.279 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.9194, allocations: 23.88 kB / 1.279 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.9194, allocations: 31.84 kB / 1.279 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.9195, allocations: 8 kB / 1.279 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.9195, allocations: 8 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.9195, allocations: 11.94 kB / 1.279 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.9195, allocations: 39.67 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.9197, allocations: 73.47 kB / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9197, allocations: 4 kB / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9197, allocations: 0 / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.9197, allocations: 0 / 1.279 GB, free: 12.24 MB / 0.9825 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.0004375/0.9201, allocations: 379.1 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.9202, allocations: 16.03 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.9202, allocations: 34.75 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.9202, allocations: 16.88 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.9204, allocations: 192.1 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.9205, allocations: 8.375 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.9205, allocations: 8.375 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.9206, allocations: 93.58 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.9206, allocations: 7.922 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.9207, allocations: 11.94 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9207, allocations: 0 / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.9207, allocations: 43.91 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.9213, allocations: 436.6 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.9214, allocations: 41.28 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.9214, allocations: 25.84 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.9214, allocations: 0 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.9214, allocations: 34.5 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.9214, allocations: 0 / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.9216, allocations: 57.58 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.9217, allocations: 89.3 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.9218, allocations: 157.1 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.9218, allocations: 25.7 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.9219, allocations: 108 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.9219, allocations: 3.953 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.9219, allocations: 17.72 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9221, allocations: 326.8 kB / 1.281 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.9221, allocations: 0 / 1.281 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.9221, allocations: 25.72 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.9222, allocations: 25.7 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9222, allocations: 0 / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.728e-05/0.9223, allocations: 57.59 kB / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9223, allocations: 11.94 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9223, allocations: 0 / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.9223, allocations: 4.062 kB / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.9224, allocations: 7.984 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.9224, allocations: 4 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.9224, allocations: 7.891 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.9224, allocations: 4 kB / 1.282 GB, free: 9.73 MB / 0.9825 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.936e-05/0.9225, allocations: 113.8 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.9225, allocations: 11.89 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.9226, allocations: 11.88 kB / 1.282 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.9226, allocations: 3.984 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.9226, allocations: 8 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.9226, allocations: 0 / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.923, allocations: 466.8 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.923, allocations: 0 / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.923, allocations: 4 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.923, allocations: 0 / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.923, allocations: 0 / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.923, allocations: 4.062 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.923, allocations: 0 / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.627e-05/0.9231, allocations: 89.81 kB / 1.282 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.9232, allocations: 85.02 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.9232, allocations: 7.938 kB / 1.282 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.9232, allocations: 0 / 1.282 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.9233, allocations: 8.016 kB / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.9233, allocations: 0 / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001027/0.9234, allocations: 124.9 kB / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9234, allocations: 0 / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000193/0.9236, allocations: 8 kB / 1.283 GB, free: 8.688 MB / 0.9825 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.0004233/0.924, allocations: 0.6177 MB / 1.283 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.9241, allocations: 15.88 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.9241, allocations: 0 / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.479e-05/0.9241, allocations: 8 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.9242, allocations: 8 kB / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.9256, allocations: 1.326 MB / 1.284 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.9259, allocations: 0.6889 MB / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.9259, allocations: 8.422 kB / 1.285 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.926, allocations: 27.42 kB / 1.285 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.926, allocations: 4 kB / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.9521, allocations: 1.595 MB / 1.287 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/9.073, allocations: 13.86 kB / 1.287 GB, free: 4.32 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/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: 15.342241572914645]