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.001445/0.001445, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001452/0.001452, allocations: 216.6 kB / 23.03 MB, free: 4.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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.284/3.284, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.001965/0.001965, allocations: 63.03 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.394, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002398/0.3964, allocations: 0.8016 MB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.3965, allocations: 35.81 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.3966, allocations: 4 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.3966, allocations: 11.86 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.3967, allocations: 11.92 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.865e-05/0.3968, allocations: 15.98 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3969, allocations: 63.78 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.397, allocations: 35.97 kB / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.548e-05/0.3971, allocations: 23.88 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.3972, allocations: 27.84 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3972, allocations: 8 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.3972, allocations: 4 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.3972, allocations: 15.94 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.3973, allocations: 35.78 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3974, allocations: 75.81 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3974, allocations: 0 / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3974, allocations: 0 / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3974, allocations: 4 kB / 1.328 GB, free: 344 kB / 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.0005121/0.398, allocations: 306 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.398, allocations: 8.078 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.604e-05/0.398, allocations: 4.188 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.3981, allocations: 38.75 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.3981, allocations: 8.891 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3983, allocations: 150.2 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3983, allocations: 8.375 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3984, allocations: 8.375 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.3985, allocations: 95.7 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3986, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3986, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3986, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.3987, allocations: 39.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.3992, allocations: 391.8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/0.3993, allocations: 37.28 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.3994, allocations: 21.84 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3994, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3994, allocations: 38.44 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3994, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.3996, allocations: 57.58 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3997, allocations: 77.11 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3998, allocations: 165.7 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3998, allocations: 25.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.3999, allocations: 108 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.3999, allocations: 4.203 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.4, allocations: 21.66 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4002, allocations: 326.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.4002, allocations: 8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.4002, allocations: 13.72 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.523e-05/0.4003, allocations: 25.72 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4003, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.868e-05/0.4003, allocations: 61.58 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4004, allocations: 9.969 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4004, allocations: 4.062 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4004, allocations: 4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.4005, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4005, allocations: 3.984 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.4005, allocations: 11.95 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.4005, allocations: 0 / 1.33 GB, free: 14.06 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.0001173/0.4006, allocations: 114.4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.4007, allocations: 11.89 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.4007, allocations: 7.812 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4007, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4007, allocations: 7.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4007, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.4011, allocations: 445.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4011, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.4012, allocations: 7.938 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4012, allocations: 96 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.4012, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4012, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4012, allocations: 3.984 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.4013, allocations: 85.94 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.4013, allocations: 19.91 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4013, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.4013, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.4014, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.4014, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001021/0.4015, allocations: 125 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4015, allocations: 3.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00018/0.4016, allocations: 8 kB / 1.331 GB, free: 13.14 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.0004806/0.4021, allocations: 0.6171 MB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.4022, allocations: 23.92 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4022, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.4022, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4024, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.4039, allocations: 1.339 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.404, allocations: 87.38 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.404, allocations: 8.422 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.4041, allocations: 23.44 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4041, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.4274, allocations: 1.75 MB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 4.062 kB / 1.334 GB, free: 9.277 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.851064297021367]