Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001753/0.001753, allocations: 103.6 kB / 16.45 MB, free: 6.449 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.002382/0.002382, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7672 GB, free: 5.246 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002123/0.002123, allocations: 75.91 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.8257, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002399/0.8281, allocations: 0.8311 MB / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.8283, allocations: 39.78 kB / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.8283, allocations: 4 kB / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.8284, allocations: 11.86 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.8285, allocations: 7.875 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.709e-05/0.8285, allocations: 19.98 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.8287, allocations: 55.84 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.8288, allocations: 35.97 kB / 1.279 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.8289, allocations: 27.8 kB / 1.279 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.829, allocations: 35.84 kB / 1.279 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.829, allocations: 8 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.829, allocations: 4 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.8291, allocations: 11.94 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.8291, allocations: 39.73 kB / 1.279 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.8293, allocations: 77.41 kB / 1.279 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8293, allocations: 0 / 1.279 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8293, allocations: 0 / 1.279 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8293, allocations: 3.938 kB / 1.279 GB, free: 12.23 MB / 0.9825 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.0005837/0.8299, allocations: 387.1 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.8299, allocations: 12.03 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.83, allocations: 34.75 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.83, allocations: 8.891 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.8303, allocations: 200.1 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.8303, allocations: 8.375 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.8303, allocations: 4.375 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.8305, allocations: 97.83 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8305, allocations: 11.92 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.8306, allocations: 8 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8306, allocations: 0 / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.8307, allocations: 35.92 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.8313, allocations: 432.7 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.8314, allocations: 45.25 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.8314, allocations: 21.78 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.8315, allocations: 4 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.8315, allocations: 30.56 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.8315, allocations: 0 / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002461/0.8317, allocations: 61.73 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.8318, allocations: 77.11 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.832, allocations: 161.1 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.832, allocations: 25.7 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.8321, allocations: 112 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.8321, allocations: 7.953 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.8321, allocations: 13.72 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8323, allocations: 318.8 kB / 1.281 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.8323, allocations: 12.03 kB / 1.281 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.8323, allocations: 13.72 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.8324, allocations: 37.59 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8324, allocations: 0 / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.178e-05/0.8325, allocations: 57.58 kB / 1.282 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8325, allocations: 7.938 kB / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8325, allocations: 8.062 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8325, allocations: 0 / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.8326, allocations: 4 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8326, allocations: 3.938 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.8326, allocations: 15.89 kB / 1.282 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.8326, allocations: 3.984 kB / 1.282 GB, free: 9.719 MB / 0.9825 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 7.974e-05/0.8327, allocations: 109.8 kB / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.8327, allocations: 15.89 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.8328, allocations: 11.88 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.8328, allocations: 4 kB / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.8328, allocations: 0 / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8328, allocations: 0 / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.8332, allocations: 470.8 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.8332, allocations: 7.984 kB / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.8332, allocations: 0 / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.8332, allocations: 4 kB / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.8332, allocations: 4.062 kB / 1.282 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8332, allocations: 0 / 1.282 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8332, allocations: 0 / 1.282 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.8333, allocations: 77.83 kB / 1.282 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.8334, allocations: 97 kB / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.8334, allocations: 0 / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.8334, allocations: 4.031 kB / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.8334, allocations: 4 kB / 1.282 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.8334, allocations: 0 / 1.282 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.345e-05/0.8335, allocations: 119.2 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8335, allocations: 0 / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001852/0.8337, allocations: 8 kB / 1.283 GB, free: 8.684 MB / 0.9825 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.0004813/0.8342, allocations: 0.6215 MB / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.8343, allocations: 15.98 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8343, allocations: 0 / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.8343, allocations: 11.94 kB / 1.283 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.8345, allocations: 7.938 kB / 1.283 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.836, allocations: 1.323 MB / 1.284 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.8363, allocations: 0.6929 MB / 1.285 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.449e-05/0.8363, allocations: 8.422 kB / 1.285 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.8364, allocations: 27.44 kB / 1.285 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8364, allocations: 0 / 1.285 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.8604, allocations: 1.595 MB / 1.287 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.959, allocations: 13.97 kB / 1.287 GB, free: 4.316 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.265008113114163]