Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001342/0.001342, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001498/0.001498, allocations: 220.8 kB / 22.25 MB, free: 5.215 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.002063/0.002063, allocations: 67.16 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002999/0.3861, allocations: 0.8498 MB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.3863, allocations: 39.8 kB / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.3863, allocations: 4 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.844e-05/0.3864, allocations: 11.86 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.3865, allocations: 7.922 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.094e-05/0.3865, allocations: 19.98 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3867, allocations: 63.78 kB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3868, allocations: 27.97 kB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.387, allocations: 23.88 kB / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.387, allocations: 35.84 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3871, allocations: 4 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.3871, allocations: 8 kB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.3871, allocations: 11.94 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.3872, allocations: 43.72 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.3873, allocations: 71.81 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3873, allocations: 4 kB / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3873, allocations: 0 / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3873, allocations: 0 / 1.354 GB, free: 7.238 MB / 1.045 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.0005769/0.3879, allocations: 310 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.388, allocations: 8.031 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.282e-05/0.388, allocations: 42.75 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.3881, allocations: 8.891 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3884, allocations: 134.3 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3884, allocations: 4.375 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.3884, allocations: 12.36 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3886, allocations: 97.73 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3887, allocations: 3.938 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3887, allocations: 4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3887, allocations: 4 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.3888, allocations: 43.91 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.3895, allocations: 399.7 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.3895, allocations: 49.22 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.3896, allocations: 17.84 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.3896, allocations: 4 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3896, allocations: 30.56 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3896, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001999/0.3898, allocations: 57.77 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.3899, allocations: 85.11 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3901, allocations: 155.3 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3901, allocations: 33.64 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.3902, allocations: 104 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.3902, allocations: 7.938 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.3903, allocations: 17.72 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3904, allocations: 318.8 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.3905, allocations: 8 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.3905, allocations: 21.72 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.3905, allocations: 21.72 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3905, allocations: 0 / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/0.3906, allocations: 61.58 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3907, allocations: 7.938 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3907, allocations: 8.062 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3907, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.3907, allocations: 4 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3908, allocations: 0 / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.3908, allocations: 7.953 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3908, allocations: 0 / 1.356 GB, free: 4.957 MB / 1.045 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 9.56e-05/0.3909, allocations: 125.7 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.3909, allocations: 11.89 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.391, allocations: 11.81 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.391, allocations: 4 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.391, allocations: 0 / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.391, allocations: 4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.3914, allocations: 449.7 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3914, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.3915, allocations: 4 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3915, allocations: 3.984 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3915, allocations: 8.062 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3915, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3915, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.3916, allocations: 73.89 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.3916, allocations: 11.94 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3916, allocations: 8 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.3917, allocations: 0 / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.3917, allocations: 11.91 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3917, allocations: 0 / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001131/0.3918, allocations: 126.2 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3918, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001861/0.392, allocations: 8 kB / 1.357 GB, free: 4.023 MB / 1.045 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.0004424/0.3924, allocations: 0.6132 MB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3925, allocations: 15.94 kB / 1.357 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3925, allocations: 0 / 1.357 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.3925, allocations: 7.984 kB / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.3927, allocations: 10.06 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3943, allocations: 1.34 MB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3946, allocations: 0.6924 MB / 1.359 GB, free: 1.191 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.3947, allocations: 8.422 kB / 1.359 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.3947, allocations: 19.44 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of SimCode: time 1.393e-06/0.3947, allocations: 0 / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.4262, allocations: 1.684 MB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.5, allocations: 16.91 kB / 1.361 GB, free: 15.59 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.549234757898375]