Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001584/0.001584, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002154/0.002154, allocations: 219.5 kB / 22.25 MB, free: 4.852 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.797 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.907/2.907, allocations: 476 MB / 0.7699 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 176] 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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.002146/0.002146, allocations: 67.69 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4053, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002745/0.4081, allocations: 1.304 MB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006512/0.4087, allocations: 267.2 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.4088, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.4088, allocations: 7.938 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.4089, allocations: 11.86 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.4092, allocations: 83.7 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.4093, allocations: 31.86 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.4094, allocations: 9.672 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.4095, allocations: 31.92 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.4096, allocations: 11.92 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.4096, allocations: 4 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.4098, allocations: 79.91 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.4098, allocations: 0 / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.4098, allocations: 11.92 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.41, allocations: 83.3 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.41, allocations: 0 / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.41, allocations: 0 / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.41, allocations: 3.938 kB / 1.284 GB, free: 10.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004947/0.4105, allocations: 274.1 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4106, allocations: 16.02 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.4106, allocations: 30.75 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.4106, allocations: 4.891 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4108, allocations: 114.4 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4108, allocations: 384 / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.4108, allocations: 12.12 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.411, allocations: 63.39 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.411, allocations: 0 / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.411, allocations: 3.984 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.411, allocations: 0 / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.411, allocations: 11.98 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.4112, allocations: 132.7 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4113, allocations: 38.61 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.4114, allocations: 8.797 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/0.412, allocations: 147.9 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.4121, allocations: 30.56 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.4121, allocations: 0 / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000175/0.4123, allocations: 49.69 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.4123, allocations: 55.34 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4124, allocations: 110.1 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4124, allocations: 29.7 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.4125, allocations: 84.14 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.4125, allocations: 7.906 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.4125, allocations: 21.7 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4127, allocations: 314.8 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.4127, allocations: 4 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.4127, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/0.4128, allocations: 24.78 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4128, allocations: 0 / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.012e-05/0.4129, allocations: 49.58 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4129, allocations: 11.94 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4129, allocations: 4 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4129, allocations: 0 / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.413, allocations: 7.984 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.413, allocations: 4.062 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.413, allocations: 0 / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.413, allocations: 4 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.86e-05/0.4131, allocations: 105.8 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.4131, allocations: 11.89 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.4132, allocations: 61.67 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4132, allocations: 4 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4132, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4132, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.4134, allocations: 145 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4134, allocations: 0 / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.4134, allocations: 4 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4134, allocations: 0 / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4134, allocations: 0 / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4134, allocations: 0 / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4134, allocations: 4 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.4135, allocations: 81.05 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.4136, allocations: 7.953 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.4136, allocations: 3.984 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.4136, allocations: 0 / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.4136, allocations: 4 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.4136, allocations: 4 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.4137, allocations: 87.27 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4137, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002145/0.4139, allocations: 27.88 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0005447/0.4145, allocations: 0.6396 MB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.4146, allocations: 15.98 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4146, allocations: 0 / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.4146, allocations: 11.94 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.4148, allocations: 6.281 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.4153, allocations: 166 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.182e-05/0.4153, allocations: 67.28 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.06e-05/0.4154, allocations: 11.95 kB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.4154, allocations: 7.438 kB / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4154, allocations: 0 / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.4456, allocations: 2.143 MB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.49, allocations: 8.688 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.79686400294304]