Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.463/2.463, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 71.83 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8104, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001828/0.8123, allocations: 0.8434 MB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001026/0.8124, allocations: 44.52 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.8124, allocations: 1.469 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.8125, allocations: 10.61 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.8125, allocations: 13.92 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-05/0.8126, allocations: 15.83 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.8127, allocations: 59.42 kB / 1.272 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.8128, allocations: 40.41 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.8129, allocations: 26.28 kB / 1.272 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.8129, allocations: 31.19 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.813, allocations: 9.406 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.813, allocations: 6.594 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.813, allocations: 12.84 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.813, allocations: 35.72 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.8131, allocations: 77.62 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8131, allocations: 0.7812 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8131, allocations: 0 / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.8131, allocations: 0 / 1.273 GB, free: 6.945 MB / 0.9981 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.0003285/0.8135, allocations: 380.3 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.8135, allocations: 13.03 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.8135, allocations: 43.03 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.8136, allocations: 14.66 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.8137, allocations: 192.9 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.8137, allocations: 7.656 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.8137, allocations: 4.906 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.8139, allocations: 97.06 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8139, allocations: 3.938 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.8139, allocations: 9 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8139, allocations: 1.906 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.814, allocations: 32.12 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.8144, allocations: 446.8 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.994e-05/0.8144, allocations: 32.66 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.8145, allocations: 28.64 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.8145, allocations: 0.7188 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.8145, allocations: 31.97 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8145, allocations: 0 / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.8146, allocations: 57.52 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.8147, allocations: 82.2 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.8148, allocations: 159.5 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.8148, allocations: 26.42 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.8148, allocations: 103.7 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.8149, allocations: 9.219 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.8149, allocations: 14.2 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.116e-05/0.8149, allocations: 323.3 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.8149, allocations: 8.641 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.815, allocations: 20.09 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.815, allocations: 31.06 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.815, allocations: 0.5625 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.073e-05/0.8151, allocations: 52.81 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8151, allocations: 10.7 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.8151, allocations: 64 / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.8151, allocations: 8.625 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.8152, allocations: 6.906 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8152, allocations: 1.188 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.8152, allocations: 14.38 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.8152, allocations: 1.844 kB / 1.275 GB, free: 4.812 MB / 0.9981 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.54e-05/0.8152, allocations: 114.1 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.8153, allocations: 16.22 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.8153, allocations: 11.8 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8153, allocations: 5.609 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8153, allocations: 0.7812 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8153, allocations: 0.7812 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.8156, allocations: 470.9 kB / 1.275 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8156, allocations: 1 kB / 1.275 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.8156, allocations: 4.047 kB / 1.275 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8156, allocations: 0.7188 kB / 1.275 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.8156, allocations: 0.75 kB / 1.275 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8156, allocations: 4.844 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8156, allocations: 2.484 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.808e-05/0.8156, allocations: 80.38 kB / 1.275 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.8157, allocations: 90.03 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.8157, allocations: 0.9062 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.8157, allocations: 3.078 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.8157, allocations: 4.844 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.8157, allocations: 1.906 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.582e-05/0.8158, allocations: 122 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8158, allocations: 0 / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001735/0.816, allocations: 7.375 kB / 1.276 GB, free: 3.902 MB / 0.9981 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.0002312/0.8162, allocations: 0.6174 MB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.8163, allocations: 22.25 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8163, allocations: 0 / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/0.8163, allocations: 11.75 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.8164, allocations: 11.14 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.8174, allocations: 1.331 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.8177, allocations: 0.6931 MB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.8177, allocations: 11.02 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.8177, allocations: 26.53 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.8177, allocations: 4 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.84, allocations: 1.557 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/7.692, allocations: 12.59 kB / 1.28 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.89659623300031]