Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01808/0.01808, allocations: 108.6 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002677/0.002677, allocations: 184.4 kB / 15.95 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.448/2.448, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.494/2.494, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005449, allocations: 15.94 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7203, allocations: 98.72 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2537/0.9741, allocations: 140 MB / 0.8201 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03105/1.005, allocations: 13.77 MB / 0.8336 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/1.007, allocations: 23.81 kB / 0.8336 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/1.009, allocations: 314.3 kB / 0.8339 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005397/1.014, allocations: 1.071 MB / 0.8349 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00516/1.019, allocations: 1.103 MB / 0.836 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00425/1.024, allocations: 1.512 MB / 0.8375 GB, free: 296 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/1.027, allocations: 1.398 MB / 0.8388 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/1.03, allocations: 0.9147 MB / 0.8397 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/1.032, allocations: 0.5869 MB / 0.8403 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004121/1.033, allocations: 44 kB / 0.8404 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/1.036, allocations: 0.8698 MB / 0.8412 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008415/1.037, allocations: 346.8 kB / 0.8415 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006881/1.038, allocations: 328.8 kB / 0.8418 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/1.043, allocations: 2.089 MB / 0.8439 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.043, allocations: 4 kB / 0.8439 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.256e-06/1.043, allocations: 3.938 kB / 0.8439 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.985e-05/1.043, allocations: 0 / 0.8439 GB, free: 9.68 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005892/1.049, allocations: 1.827 MB / 0.8457 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.049, allocations: 8.031 kB / 0.8457 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008779/1.05, allocations: 244.6 kB / 0.8459 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007791/1.058, allocations: 0.626 MB / 0.8465 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/1.061, allocations: 0.9812 MB / 0.8475 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/1.061, allocations: 127.3 kB / 0.8476 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006081/1.062, allocations: 164 kB / 0.8478 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006729/1.068, allocations: 1.812 MB / 0.8495 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/1.069, allocations: 0 / 0.8495 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/1.069, allocations: 76 kB / 0.8496 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/1.069, allocations: 40 kB / 0.8496 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007821/1.077, allocations: 1.94 MB / 0.8515 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/1.092, allocations: 5.094 MB / 0.8565 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006608/1.099, allocations: 1.497 MB / 0.858 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/1.101, allocations: 0.887 MB / 0.8588 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003574/1.104, allocations: 0.8927 MB / 0.8597 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 5.761e-06/1.105, allocations: 0 / 0.8597 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.01265/1.117, allocations: 2.543 MB / 0.8622 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.117, allocations: 171.5 kB / 0.8624 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.119, allocations: 0.7279 MB / 0.8631 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004342/1.119, allocations: 53.7 kB / 0.8631 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007221/1.12, allocations: 0.6016 MB / 0.8637 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008318/1.121, allocations: 461.3 kB / 0.8642 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/1.121, allocations: 24 kB / 0.8642 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.121, allocations: 349.9 kB / 0.8645 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.124, allocations: 490.3 kB / 0.865 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/1.126, allocations: 0.637 MB / 0.8656 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/1.129, allocations: 0.5915 MB / 0.8662 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.129, allocations: 0 / 0.8662 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007391/1.136, allocations: 1.608 MB / 0.8677 GB, free: 344 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/1.137, allocations: 60.95 kB / 0.8678 GB, free: 272 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.137, allocations: 4 kB / 0.8678 GB, free: 268 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/1.138, allocations: 204.1 kB / 0.868 GB, free: 48 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/1.142, allocations: 311.6 kB / 0.8683 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00842/1.15, allocations: 6.785 MB / 0.8749 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.152, allocations: 178.8 kB / 0.8751 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/1.153, allocations: 47.97 kB / 0.8751 GB, free: 8.066 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001343/1.154, allocations: 366 kB / 0.8755 GB, free: 7.699 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/1.155, allocations: 122.6 kB / 0.8756 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008568/1.163, allocations: 1.81 MB / 0.8774 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/1.163, allocations: 16 kB / 0.8774 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.163, allocations: 4 kB / 0.8774 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/1.164, allocations: 11.92 kB / 0.8774 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/1.167, allocations: 1.43 MB / 0.8788 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.167, allocations: 7.938 kB / 0.8788 GB, free: 4.223 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003223/1.17, allocations: 311.6 kB / 0.8791 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/1.172, allocations: 184.1 kB / 0.8793 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003419/1.172, allocations: 35.97 kB / 0.8793 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008134/1.18, allocations: 6.834 MB / 0.886 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.18, allocations: 0 / 0.886 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/1.188, allocations: 1.592 MB / 0.8875 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.189, allocations: 426.9 kB / 0.888 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/1.19, allocations: 28 kB / 0.888 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/1.193, allocations: 152.7 kB / 0.8881 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/1.193, allocations: 101.1 kB / 0.8882 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003348/1.194, allocations: 67.94 kB / 0.8883 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001229/1.195, allocations: 0.5107 MB / 0.8888 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.195, allocations: 0 / 0.8888 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002743/1.198, allocations: 0.5532 MB / 0.8893 GB, free: 8.715 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/1.208, allocations: 2.767 MB / 0.892 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006752/1.215, allocations: 1.94 MB / 0.8939 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.215, allocations: 5 kB / 0.8939 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004068/1.219, allocations: 1.293 MB / 0.8952 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.223, allocations: 377.4 kB / 0.8956 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.237, allocations: 4.761 MB / 0.9002 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/1.238, allocations: 1.299 MB / 0.9015 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003694/1.242, allocations: 432.3 kB / 0.9019 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/1.244, allocations: 0.5891 MB / 0.9025 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/1.244, allocations: 0 / 0.9025 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7489/1.993, allocations: 33.8 MB / 0.9355 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/1.993, allocations: 290 kB / 0.9357 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.644/6.637, allocations: 0 / 0.9357 GB, free: 202.1 MB / 0.7292 GB