Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001697/0.001697, allocations: 107.5 kB / 16.45 MB, free: 6.512 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.002093/0.002093, allocations: 209.7 kB / 19.42 MB, free: 3.648 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.613/1.613, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.363/3.363, allocations: 0.49 GB / 0.7916 GB, free: 33.44 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_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.002161/0.002161, allocations: 75.62 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.416, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002385/0.4184, allocations: 0.8247 MB / 1.322 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.4185, allocations: 39.8 kB / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.4186, allocations: 4 kB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.808e-05/0.4186, allocations: 7.875 kB / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.4187, allocations: 11.91 kB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.959e-05/0.4188, allocations: 23.92 kB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.419, allocations: 59.84 kB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4191, allocations: 31.92 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.4192, allocations: 27.86 kB / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.4193, allocations: 31.78 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.4193, allocations: 8 kB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.4193, allocations: 8 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.4193, allocations: 11.94 kB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.4194, allocations: 43.72 kB / 1.322 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.4196, allocations: 75.88 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4196, allocations: 0 / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4196, allocations: 0 / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.4196, 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.0006149/0.4202, allocations: 391 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.4202, allocations: 11.98 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.4203, allocations: 42.75 kB / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.4203, allocations: 12.89 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.4206, allocations: 196.2 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4206, allocations: 8.375 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.4206, allocations: 4.375 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.4208, allocations: 95.86 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4208, allocations: 7.875 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.4208, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4208, allocations: 8 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.4209, allocations: 35.98 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.4215, allocations: 436.8 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.761e-05/0.4216, allocations: 37.22 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.4217, allocations: 21.78 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.4217, allocations: 0 / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.4217, allocations: 34.5 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4217, allocations: 0 / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001915/0.4219, allocations: 65.47 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.422, allocations: 85.3 kB / 1.323 GB, free: 412 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4221, allocations: 161.3 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4221, allocations: 25.7 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.4222, allocations: 100 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.4222, allocations: 11.94 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.4223, allocations: 13.72 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4225, allocations: 322.8 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.4225, allocations: 8 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.4225, allocations: 17.72 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.4226, allocations: 25.72 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4226, allocations: 3.938 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.4227, allocations: 57.64 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4227, allocations: 7.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4227, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4228, allocations: 4.062 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.4228, allocations: 8 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4228, allocations: 3.938 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.4229, allocations: 3.953 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4229, 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.0001037/0.423, allocations: 117.8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.423, allocations: 11.89 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.423, allocations: 11.81 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.423, allocations: 4.094 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4231, allocations: 7.984 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4231, allocations: 0 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.4235, allocations: 470.8 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4235, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.4235, allocations: 7.984 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4235, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4235, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4235, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4235, allocations: 12.06 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.4236, allocations: 81.78 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.4237, allocations: 96.98 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.4237, allocations: 3.938 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.4237, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.4238, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4238, allocations: 8.031 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000103/0.4239, allocations: 121.1 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4239, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001855/0.424, allocations: 4 kB / 1.325 GB, free: 14.53 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.0004522/0.4245, allocations: 0.6172 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.4246, allocations: 23.92 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4246, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.4246, 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.0001618/0.4248, allocations: 10 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4262, allocations: 1.33 MB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4265, allocations: 0.6924 MB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.4266, allocations: 8.422 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.4266, allocations: 19.44 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4266, allocations: 0 / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.4531, allocations: 1.595 MB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.725, allocations: 3.984 kB / 1.329 GB, free: 10.17 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_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_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.9578295359388]