Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001736/0.001736, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002158/0.002158, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.24/3.24, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.002035/0.002035, allocations: 68.66 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002598/0.3733, allocations: 0.8278 MB / 1.322 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.3735, allocations: 35.84 kB / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.3735, allocations: 4 kB / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.3736, allocations: 11.86 kB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.3737, allocations: 7.875 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.252e-05/0.3737, allocations: 19.98 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3739, allocations: 59.84 kB / 1.322 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.374, allocations: 47.77 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.3741, allocations: 23.88 kB / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.3741, allocations: 31.84 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3742, allocations: 7.938 kB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.3742, allocations: 8 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.3742, allocations: 8 kB / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3743, allocations: 39.73 kB / 1.322 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3744, allocations: 83.8 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3744, allocations: 0 / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3744, allocations: 0 / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.3744, allocations: 0 / 1.322 GB, free: 2.086 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.0005693/0.375, allocations: 391.1 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.375, allocations: 11.98 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.3751, allocations: 38.75 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.3751, allocations: 12.89 kB / 1.322 GB, free: 1.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3754, allocations: 192.2 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3754, allocations: 8.375 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3754, allocations: 4.375 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3756, allocations: 95.86 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3756, allocations: 7.938 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3756, allocations: 0 / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.3756, allocations: 4 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3757, allocations: 39.92 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.3764, allocations: 436.6 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.3765, allocations: 41.28 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.3765, allocations: 21.84 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.3765, allocations: 0 / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3766, allocations: 30.56 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3766, allocations: 0 / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002162/0.3768, allocations: 69.66 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.3769, allocations: 81.05 kB / 1.323 GB, free: 420 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.3771, allocations: 160.3 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3771, allocations: 25.7 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.3772, allocations: 104 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.3772, allocations: 3.953 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.3773, allocations: 17.72 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.3775, allocations: 322.8 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.3775, allocations: 12 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.3776, allocations: 17.72 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.3776, allocations: 29.66 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3776, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.3777, allocations: 61.58 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3778, allocations: 10.28 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3778, allocations: 4.062 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3778, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.3779, allocations: 8 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3779, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.3779, allocations: 3.953 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3779, allocations: 7.984 kB / 1.324 GB, free: 15.59 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.000134/0.3781, allocations: 113.8 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.3781, allocations: 11.89 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.3781, allocations: 7.875 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3781, allocations: 8 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3781, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3782, allocations: 96 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.3787, allocations: 474.8 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3787, allocations: 3.984 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.3788, allocations: 7.938 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3788, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3788, allocations: 4.062 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3788, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.3788, allocations: 8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.3789, allocations: 77.84 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.379, allocations: 92.98 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.379, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.379, allocations: 7.969 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.3791, allocations: 0 / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3791, allocations: 4 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001197/0.3792, allocations: 117.1 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3792, allocations: 7.938 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001903/0.3794, allocations: 4 kB / 1.325 GB, free: 14.54 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.0005314/0.3799, allocations: 0.6171 MB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.38, allocations: 23.92 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.38, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.38, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.3802, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3818, allocations: 1.338 MB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3821, allocations: 0.6924 MB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.3822, allocations: 8.422 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.3822, allocations: 19.44 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.3822, allocations: 4 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.4082, allocations: 1.59 MB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.651, allocations: 5.625 kB / 1.329 GB, free: 10.19 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.420581826008856]