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.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.001068/0.001068, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009251/0.0009251, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8741/0.8741, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.372e-06/1.372e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.697e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001306/0.001323, allocations: 0.7907 MB / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.451e-05/0.001418, allocations: 39.78 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.001461, allocations: 4 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.001493, allocations: 7.875 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.001564, allocations: 23.84 kB / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.587e-05/0.001599, allocations: 15.98 kB / 0.9514 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.001686, allocations: 59.84 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.001792, allocations: 23.98 kB / 0.9514 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.001867, allocations: 43.83 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.001905, allocations: 23.91 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.001925, allocations: 4 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.633e-06/0.001931, allocations: 8 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.001947, allocations: 11.92 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.001973, allocations: 23.92 kB / 0.9516 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.703e-05/0.00207, allocations: 79.64 kB / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002072, allocations: 0 / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002073, allocations: 3.938 kB / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.002076, allocations: 0 / 0.9516 GB, free: 2.316 MB / 0.9011 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.0003239/0.0024, allocations: 306 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.002441, allocations: 8.031 kB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.002482, allocations: 42.73 kB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.002506, allocations: 12.84 kB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.002657, allocations: 141.5 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.002665, allocations: 4.312 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.002676, allocations: 16.38 kB / 0.9521 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.00279, allocations: 86.61 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.002797, allocations: 192 / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.002806, allocations: 4.375 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.002812, allocations: 8.125 kB / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.763e-05/0.00287, allocations: 39.92 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.003246, allocations: 391.8 kB / 0.9526 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.00329, allocations: 41.25 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.003315, allocations: 13.78 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.003321, allocations: 4 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.003339, allocations: 38.56 kB / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.00334, allocations: 0 / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.003467, allocations: 53.58 kB / 0.9528 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.0035, allocations: 81.05 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.003602, allocations: 156.8 kB / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.003611, allocations: 29.7 kB / 0.953 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.003661, allocations: 108 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.003668, allocations: 3.938 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.003693, allocations: 25.92 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.003766, allocations: 318.8 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.003777, allocations: 4 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.003793, allocations: 25.66 kB / 0.9535 GB, free: 180 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.003825, allocations: 25.72 kB / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003827, allocations: 0 / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.78e-05/0.003885, allocations: 61.58 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.003898, allocations: 8 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.003902, allocations: 64 / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.003913, allocations: 4 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.003959, allocations: 7.938 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.003965, allocations: 7.984 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.003981, allocations: 0 / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.003986, allocations: 4 kB / 0.9536 GB, free: 48 kB / 0.9011 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 6.612e-05/0.004052, allocations: 117.8 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.004075, allocations: 11.91 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.004095, allocations: 11.75 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.004097, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.004102, allocations: 3.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.004104, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.004345, allocations: 433.9 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004346, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.004357, allocations: 11.88 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004359, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.004364, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.004365, allocations: 4 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004366, allocations: 96 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.056e-05/0.004416, allocations: 77.92 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.004435, allocations: 19.98 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.004445, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.004454, allocations: 4 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.004465, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-07/0.004465, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.526e-05/0.004521, allocations: 122.3 kB / 0.9544 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004521, allocations: 0 / 0.9544 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001236/0.004644, allocations: 11.94 kB / 0.9544 GB, free: 15.14 MB / 0.9167 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.0002316/0.004876, allocations: 0.6132 MB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.004945, allocations: 27.95 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.004947, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.004954, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.005066, allocations: 8 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.005867, allocations: 1.337 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.505e-05/0.005922, allocations: 79.58 kB / 0.9564 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.005945, allocations: 8.484 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.005985, allocations: 24.48 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 8.01e-07/0.005985, allocations: 0 / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.01971, allocations: 2.237 MB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.594, allocations: 10.41 kB / 0.9587 GB, free: 10.78 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/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: 10.596163806505501]