Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001709/0.001709, allocations: 119 kB / 17.17 MB, free: 5.906 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.001456/0.001456, allocations: 211 kB / 20.13 MB, free: 2.969 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.143/3.143, allocations: 0.49 GB / 0.7923 GB, free: 1.379 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.To_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_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.002023/0.002023, allocations: 63.89 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002017/1.069, allocations: 0.8259 MB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000105/1.069, allocations: 40.69 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/1.069, allocations: 0 / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/1.069, allocations: 7.312 kB / 1.322 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.692e-05/1.069, allocations: 10.75 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.349e-05/1.069, allocations: 21.39 kB / 1.322 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/1.07, allocations: 63.27 kB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/1.07, allocations: 37.16 kB / 1.322 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/1.07, allocations: 25.91 kB / 1.322 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/1.07, allocations: 25.78 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/1.07, allocations: 7.969 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.068e-06/1.07, allocations: 4.875 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/1.07, allocations: 18.08 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/1.07, allocations: 32.67 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/1.07, allocations: 86.72 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.07, allocations: 0 / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.07, allocations: 4 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.07, allocations: 0 / 1.323 GB, free: 23.95 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.0003792/1.07, allocations: 385.4 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/1.07, allocations: 11.86 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/1.07, allocations: 2.594 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.118e-05/1.07, allocations: 37.38 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/1.07, allocations: 14.23 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/1.071, allocations: 197 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.071, allocations: 10.94 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/1.071, allocations: 9.766 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.071, allocations: 98.12 kB / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.071, allocations: 0 / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/1.071, allocations: 2.719 kB / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.071, allocations: 0 / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/1.071, allocations: 44.5 kB / 1.323 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/1.071, allocations: 434.5 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/1.071, allocations: 46.84 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/1.071, allocations: 23.19 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/1.071, allocations: 3.516 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/1.071, allocations: 38.5 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.071, allocations: 2.5 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/1.072, allocations: 54.98 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.072, allocations: 77.11 kB / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/1.072, allocations: 163.1 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-06/1.072, allocations: 25.7 kB / 1.324 GB, free: 22.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/1.072, allocations: 104.8 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/1.072, allocations: 7.953 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/1.072, allocations: 14.84 kB / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/1.072, allocations: 320.7 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/1.072, allocations: 10.59 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/1.072, allocations: 18.09 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/1.072, allocations: 29.44 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.072, allocations: 0 / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.913e-05/1.072, allocations: 59.61 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.072, allocations: 10.84 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/1.072, allocations: 0 / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.072, allocations: 2.094 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/1.072, allocations: 5.219 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.072, allocations: 0 / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/1.072, allocations: 10.45 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/1.072, allocations: 6.25 kB / 1.325 GB, free: 21.8 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 4.915e-05/1.072, allocations: 115.9 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/1.072, allocations: 16.73 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/1.072, allocations: 10.41 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/1.072, allocations: 0 / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.072, allocations: 2.656 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/1.072, allocations: 3.938 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/1.073, allocations: 472.7 kB / 1.325 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.073, allocations: 0 / 1.325 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/1.073, allocations: 6.688 kB / 1.325 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.073, allocations: 2.812 kB / 1.325 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/1.073, allocations: 0 / 1.325 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.073, allocations: 3.938 kB / 1.325 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.073, allocations: 4 kB / 1.325 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.563e-05/1.073, allocations: 87.36 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/1.073, allocations: 91.39 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/1.073, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/1.073, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/1.073, allocations: 2.906 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/1.073, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.494e-05/1.073, allocations: 127.3 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.073, allocations: 0 / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001916/1.073, allocations: 12.81 kB / 1.326 GB, free: 20.88 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.0002446/1.073, allocations: 0.6105 MB / 1.326 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.915e-05/1.073, allocations: 16.75 kB / 1.326 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.073, allocations: 4.062 kB / 1.326 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-06/1.073, allocations: 8.906 kB / 1.326 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/1.073, allocations: 6.938 kB / 1.326 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/1.074, allocations: 1.332 MB / 1.328 GB, free: 19.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/1.074, allocations: 0.697 MB / 1.328 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.911e-05/1.074, allocations: 10.66 kB / 1.328 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/1.074, allocations: 18.31 kB / 1.328 GB, free: 18.31 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.074, allocations: 0 / 1.328 GB, free: 18.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/1.093, allocations: 1.619 MB / 1.33 GB, free: 17.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/9.724, allocations: 11.8 kB / 1.33 GB, free: 17.91 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.460744971991517]