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.00179/0.00179, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002126/0.002126, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 7.789 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.269/3.269, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002149/0.002149, allocations: 66.17 kB / 1.153 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 176.1 MB / 1.325 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002228/0.3461, allocations: 0.7897 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.3463, allocations: 43.78 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.3464, allocations: 4 kB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.3464, allocations: 7.875 kB / 1.326 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.542e-05/0.3465, allocations: 7.922 kB / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.334e-05/0.3466, allocations: 19.98 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.3467, allocations: 63.78 kB / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3469, allocations: 31.97 kB / 1.326 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.347, allocations: 27.86 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.347, allocations: 27.8 kB / 1.326 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.347, allocations: 8 kB / 1.326 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.347, allocations: 8 kB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.3471, allocations: 15.92 kB / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.3471, allocations: 23.88 kB / 1.326 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3473, allocations: 83.78 kB / 1.326 GB, free: 1.086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3473, allocations: 0 / 1.326 GB, free: 1.086 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3473, allocations: 0 / 1.326 GB, free: 1.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.3473, allocations: 0 / 1.326 GB, free: 1.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.0005267/0.3478, allocations: 303.9 kB / 1.326 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3479, allocations: 8.031 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.3479, allocations: 50.73 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3479, allocations: 8.891 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3482, allocations: 142.3 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3482, allocations: 8.281 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3482, allocations: 12.31 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3484, allocations: 87.95 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3484, allocations: 3.938 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3484, allocations: 7.984 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3484, allocations: 0 / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3485, allocations: 39.92 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.3491, allocations: 391.8 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.3492, allocations: 41.34 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.3493, allocations: 21.77 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.3493, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3493, allocations: 34.56 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3493, allocations: 0 / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002004/0.3495, allocations: 53.53 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3496, allocations: 81.36 kB / 1.327 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.3497, allocations: 168 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3497, allocations: 25.7 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.3498, allocations: 104 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.3498, allocations: 7.953 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.3499, allocations: 17.66 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.35, allocations: 322.8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.35, allocations: 8 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.3501, allocations: 17.7 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.3501, allocations: 25.72 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3501, allocations: 4 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.261e-05/0.3502, allocations: 61.58 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3502, allocations: 7.938 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3502, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3502, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.3503, allocations: 8 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3503, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.3504, allocations: 7.953 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3504, allocations: 4 kB / 1.328 GB, free: 14.81 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 9.594e-05/0.3505, allocations: 122.4 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.3505, allocations: 15.83 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3505, allocations: 15.8 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3505, allocations: 3.938 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3505, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3505, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.351, allocations: 429.9 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.351, allocations: 7.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.351, allocations: 7.938 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.351, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.351, allocations: 8.062 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.351, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.351, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3511, allocations: 85.83 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.3511, allocations: 3.953 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3511, allocations: 11.98 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.3512, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.3512, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3512, allocations: 3.938 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.677e-05/0.3513, allocations: 123.1 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3513, allocations: 8.031 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001892/0.3515, allocations: 4 kB / 1.329 GB, free: 13.89 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.0004313/0.3519, allocations: 0.6132 MB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.352, allocations: 15.94 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.352, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.352, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.3522, allocations: 9.562 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3536, allocations: 1.336 MB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.3537, allocations: 87.2 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.3537, allocations: 8.422 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.3537, allocations: 23.42 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.3537, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.3821, allocations: 2.104 MB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.1, allocations: 2.734 kB / 1.333 GB, free: 9.68 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.097754278220236]