Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.344 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 75.88 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8064, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001678/0.8081, allocations: 0.8507 MB / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.461e-05/0.8081, allocations: 37.27 kB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.8082, allocations: 1.5 kB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.8082, allocations: 9.281 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.8083, allocations: 18.12 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.988e-05/0.8083, allocations: 16.28 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.8084, allocations: 64.16 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.8086, allocations: 35.17 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.8086, allocations: 27.09 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.8087, allocations: 26.36 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.8087, allocations: 6.156 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.8087, allocations: 10.09 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.8087, allocations: 16.39 kB / 1.272 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.8087, allocations: 28.41 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.8088, allocations: 76.73 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8088, allocations: 1.547 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8088, allocations: 0.75 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8088, allocations: 4 kB / 1.273 GB, free: 6.984 MB / 0.9981 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.0003096/0.8092, allocations: 379.2 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.8092, allocations: 9.688 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.8092, allocations: 39.72 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.8092, allocations: 13.5 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.8094, allocations: 196.3 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.8094, allocations: 7.531 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.8094, allocations: 9.781 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.8095, allocations: 94.61 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8095, allocations: 4.844 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.8096, allocations: 4.812 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.8096, allocations: 1.875 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.8096, allocations: 40.52 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.81, allocations: 441.7 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.8101, allocations: 37.88 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.8101, allocations: 19.73 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.8101, allocations: 0.7188 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.8101, allocations: 40.33 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8101, allocations: 0.7812 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.8103, allocations: 56.41 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.8103, allocations: 82.66 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.8104, allocations: 154.5 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.8104, allocations: 26.45 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.8104, allocations: 107.2 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.8104, allocations: 7.469 kB / 1.274 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.8105, allocations: 22.12 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.477e-05/0.8105, allocations: 314.8 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.8105, allocations: 8.203 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.8105, allocations: 20.62 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.8106, allocations: 30.38 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.8106, allocations: 1.031 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.623e-05/0.8106, allocations: 61.03 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.8107, allocations: 11.42 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8107, allocations: 4.906 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.8107, allocations: 0.875 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.8107, allocations: 9.125 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.8107, allocations: 0.7812 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.8108, allocations: 6.406 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.8108, allocations: 1.469 kB / 1.275 GB, free: 4.852 MB / 0.9981 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 4.327e-05/0.8108, allocations: 120.2 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.8108, allocations: 15.22 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.8109, allocations: 8.484 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.8109, allocations: 1 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.8109, allocations: 0.875 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8109, allocations: 0.9688 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.8111, allocations: 469.6 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8111, allocations: 5 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.8111, allocations: 7.5 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.8111, allocations: 0.9688 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.8111, allocations: 1.703 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8111, allocations: 0.5625 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8111, allocations: 0.8125 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.579e-05/0.8112, allocations: 94.14 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.8112, allocations: 87.72 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.8112, allocations: 0.9688 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.8113, allocations: 0.9688 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.8113, allocations: 0.8438 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.8113, allocations: 0.7812 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.8113, allocations: 120.5 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8113, allocations: 0 / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001753/0.8115, allocations: 11.53 kB / 1.276 GB, free: 3.934 MB / 0.9981 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.00022/0.8117, allocations: 0.6161 MB / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.898e-05/0.8118, allocations: 15.75 kB / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8118, allocations: 0 / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.8118, allocations: 17.2 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.812, allocations: 11.66 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.8129, allocations: 1.326 MB / 1.278 GB, free: 18.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.8132, allocations: 0.6953 MB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.8132, allocations: 11.42 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.8132, allocations: 25.19 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.8132, allocations: 1.125 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.8355, allocations: 1.566 MB / 1.28 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/7.713, allocations: 5.719 kB / 1.28 GB, free: 16.97 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.06062555200333]