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.001802/0.001802, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002325/0.002325, allocations: 218.5 kB / 22.25 MB, free: 5.121 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.996 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.741/2.741, allocations: 476.8 MB / 0.7707 GB, free: 4.234 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.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.002066/0.002066, allocations: 67.89 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.381, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002568/0.3836, allocations: 1.308 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.3842, allocations: 303.1 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.3843, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.3843, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3844, allocations: 15.91 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3848, allocations: 83.7 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.3849, allocations: 35.86 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.385, allocations: 0 / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.3851, allocations: 43.84 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.3852, allocations: 7.984 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3852, allocations: 3.938 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.3854, allocations: 83.91 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.3854, allocations: 0 / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.3854, allocations: 15.92 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.3856, allocations: 76.42 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3856, allocations: 3.938 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3856, allocations: 4 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3856, allocations: 0 / 1.285 GB, free: 9.727 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.0004839/0.3861, allocations: 280 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3861, allocations: 12.03 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.3862, allocations: 34.75 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.3862, allocations: 0.9375 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3863, allocations: 110.5 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3863, allocations: 4.359 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3863, allocations: 8.125 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3864, allocations: 41.64 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3864, allocations: 3.938 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3865, allocations: 0 / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3865, allocations: 4 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.3865, allocations: 7.984 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.3867, allocations: 132.8 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.3868, allocations: 30.62 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.3868, allocations: 20.8 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/0.3875, allocations: 139.9 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3875, allocations: 38.5 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3875, allocations: 4 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.3877, allocations: 49.69 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3877, allocations: 51.41 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.3878, allocations: 109.8 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3878, allocations: 25.7 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3879, allocations: 80.14 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3879, allocations: 19.84 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.3879, allocations: 13.72 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3881, allocations: 318.8 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.3881, allocations: 4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.3881, allocations: 11.94 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.3882, allocations: 16.86 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3882, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.873e-05/0.3882, allocations: 45.62 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3883, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3883, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3883, allocations: 336 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.3883, allocations: 4 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3883, allocations: 7.984 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.3884, allocations: 8 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3884, allocations: 0 / 1.287 GB, free: 7.926 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.889e-05/0.3885, allocations: 109.8 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.3885, allocations: 19.81 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.3886, allocations: 57.69 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3886, allocations: 4 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3886, allocations: 3.938 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3886, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.3888, allocations: 136.7 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3888, allocations: 0 / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.3888, allocations: 4 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3888, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3888, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3888, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3888, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.3889, allocations: 84.95 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.389, allocations: 15.98 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.389, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.389, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.389, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.389, allocations: 4 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.3891, allocations: 87.27 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3891, allocations: 0 / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002155/0.3893, allocations: 35.88 kB / 1.287 GB, free: 7.289 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.0005431/0.3899, allocations: 0.6395 MB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.863e-05/0.39, allocations: 15.98 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.39, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.39, allocations: 8 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3902, allocations: 8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.3907, allocations: 164.6 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.3912, allocations: 0.6807 MB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.3912, allocations: 8 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.3913, allocations: 7.438 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3913, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.4221, allocations: 1.736 MB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.23, allocations: 15.36 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.05828048300009]