Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001144/0.001144, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001337/0.001337, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9016/0.9016, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.981 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.628e-05, allocations: 5.094 kB / 0.981 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001914/0.00194, allocations: 0.7868 MB / 0.9817 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.002065, allocations: 43.78 kB / 0.9818 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.002114, allocations: 4 kB / 0.9818 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.002153, allocations: 7.875 kB / 0.9818 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.002231, allocations: 7.922 kB / 0.9818 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 4.073e-05/0.002272, allocations: 15.98 kB / 0.9818 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.002376, allocations: 67.78 kB / 0.9819 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.002511, allocations: 27.97 kB / 0.9819 GB, free: 484 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.002604, allocations: 39.91 kB / 0.982 GB, free: 444 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.00265, allocations: 23.89 kB / 0.982 GB, free: 420 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.002675, allocations: 8 kB / 0.982 GB, free: 412 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.002682, allocations: 4 kB / 0.982 GB, free: 408 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.002701, allocations: 19.88 kB / 0.982 GB, free: 388 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.002731, allocations: 23.91 kB / 0.982 GB, free: 364 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.002841, allocations: 71.64 kB / 0.9821 GB, free: 292 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.002845, allocations: 4 kB / 0.9821 GB, free: 288 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.823e-06/0.002847, allocations: 0 / 0.9821 GB, free: 288 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.002852, allocations: 0 / 0.9821 GB, free: 288 kB / 0.8855 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.0003703/0.003222, allocations: 306 kB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.003261, allocations: 12.03 kB / 0.9824 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.003294, allocations: 38.75 kB / 0.9824 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.003319, allocations: 20.83 kB / 0.9825 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.003482, allocations: 129.6 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003493, allocations: 12.31 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.003503, allocations: 8.375 kB / 0.9826 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.003631, allocations: 95.86 kB / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.00364, allocations: 192 / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.003648, allocations: 384 / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.003656, allocations: 12.12 kB / 0.9827 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.003714, allocations: 39.92 kB / 0.9827 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.004126, allocations: 387.8 kB / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.004182, allocations: 45.27 kB / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.004213, allocations: 17.84 kB / 0.9832 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.004224, allocations: 4 kB / 0.9832 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.004242, allocations: 30.56 kB / 0.9832 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.004243, allocations: 0 / 0.9832 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.004396, allocations: 61.58 kB / 0.9833 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.004441, allocations: 81.05 kB / 0.9833 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.00456, allocations: 165.3 kB / 0.9835 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.00457, allocations: 25.7 kB / 0.9835 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.004627, allocations: 100.1 kB / 0.9836 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.004636, allocations: 11.89 kB / 0.9836 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.004666, allocations: 21.67 kB / 0.9837 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.00475, allocations: 318.8 kB / 0.984 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.004764, allocations: 4 kB / 0.984 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.004782, allocations: 17.72 kB / 0.984 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.004817, allocations: 33.91 kB / 0.984 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.00482, allocations: 0 / 0.984 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.357e-05/0.004884, allocations: 61.58 kB / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.004897, allocations: 4 kB / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.004903, allocations: 4 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004914, allocations: 0 / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.004968, allocations: 7.938 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.004973, allocations: 0 / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.004993, allocations: 8.047 kB / 0.9841 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-06/0.004996, allocations: 4 kB / 0.9841 GB, free: 14 MB / 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 5.72e-05/0.005053, allocations: 117.8 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.005075, allocations: 7.953 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.005094, allocations: 11.81 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005095, allocations: 0 / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.0051, allocations: 3.938 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005103, allocations: 4 kB / 0.9842 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.005361, allocations: 437.9 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005362, allocations: 3.938 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.005375, allocations: 12 kB / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.005377, allocations: 0 / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.005382, allocations: 0 / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.005383, allocations: 0 / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.005386, allocations: 4 kB / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.448e-05/0.00544, allocations: 73.94 kB / 0.9847 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.00546, allocations: 15.89 kB / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.005471, allocations: 4 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-06/0.00548, allocations: 0 / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.005493, allocations: 7.938 kB / 0.9848 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.005495, allocations: 4.031 kB / 0.9848 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.005552, allocations: 121.7 kB / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.005553, allocations: 0 / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001276/0.00568, allocations: 15.94 kB / 0.9849 GB, free: 13.09 MB / 0.9011 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.0002506/0.005931, allocations: 0.6054 MB / 0.9855 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.298e-05/0.006004, allocations: 23.92 kB / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.006006, allocations: 0 / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.006013, allocations: 8.219 kB / 0.9855 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.006133, allocations: 11.94 kB / 0.9855 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.007182, allocations: 1.343 MB / 0.9869 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.2e-05/0.007234, allocations: 75.33 kB / 0.9869 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.007262, allocations: 8.484 kB / 0.9869 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.007305, allocations: 28.48 kB / 0.987 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of SimCode: time 5.81e-07/0.007305, allocations: 4.062 kB / 0.987 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.02278, allocations: 2.223 MB / 0.9891 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.615/6.638, allocations: 0 / 0.9891 GB, free: 8.75 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.800639254041016]