Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.002511/0.002511, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.003398/0.003398, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.87/2.87, allocations: 476.7 MB / 0.7714 GB, free: 4.316 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.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",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.002094/0.002094, allocations: 64.77 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3856, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002567/0.3882, allocations: 1.279 MB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.3886, allocations: 119.6 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.3886, allocations: 0 / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.3886, allocations: 3.984 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.3887, allocations: 3.938 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.3889, allocations: 43.83 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.389, allocations: 15.92 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.389, allocations: 96 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.389, allocations: 7.938 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.3891, allocations: 15.98 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3891, allocations: 3.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3893, allocations: 43.95 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.3893, allocations: 7.984 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.3893, allocations: 4 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3894, allocations: 39.39 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3894, allocations: 4 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3894, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3894, allocations: 0 / 1.286 GB, free: 10.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004043/0.3898, allocations: 266.9 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3899, allocations: 12.03 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.684e-05/0.3899, allocations: 4.188 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.3899, allocations: 30.75 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.39, allocations: 0.9375 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3901, allocations: 106.5 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.3901, allocations: 384 / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3901, allocations: 7.938 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.3902, allocations: 37.62 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3902, allocations: 4 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.3902, allocations: 0 / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3902, allocations: 3.938 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.3902, allocations: 4 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.3904, allocations: 124.8 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.3905, allocations: 22.55 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.3905, allocations: 12.92 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/0.391, allocations: 83.92 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.391, allocations: 38.55 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.391, allocations: 3.938 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001412/0.3911, allocations: 33.7 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3912, allocations: 51.41 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.3913, allocations: 113.8 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3913, allocations: 29.83 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.3913, allocations: 80.14 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3914, allocations: 3.953 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.3914, allocations: 17.72 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3915, allocations: 310.8 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.3915, allocations: 0 / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.3915, allocations: 7.984 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.3916, allocations: 16.86 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3916, allocations: 4 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.799e-05/0.3916, allocations: 45.59 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3917, allocations: 4 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3917, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3917, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.3917, allocations: 4 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3917, allocations: 3.984 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.3918, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.3918, allocations: 4 kB / 1.287 GB, free: 8.367 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 (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 prepare postOptimizeDAE: time 8.284e-05/0.3918, allocations: 117.8 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.3919, allocations: 0 / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.392, allocations: 48.94 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.392, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.392, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.392, allocations: 4 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3921, allocations: 124.7 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3921, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.3921, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3921, allocations: 4.031 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3921, allocations: 8 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3921, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3921, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.008e-05/0.3922, allocations: 69 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.3922, allocations: 7.938 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3922, allocations: 0 / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.3922, allocations: 0 / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.3922, allocations: 4.031 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.3922, allocations: 3.938 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.3923, allocations: 79.28 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3923, allocations: 0 / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002109/0.3925, allocations: 23.92 kB / 1.288 GB, free: 7.805 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 (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.0004501/0.393, allocations: 0.6163 MB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.393, allocations: 7.938 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.393, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.3931, allocations: 8 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3933, allocations: 11.97 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3944, allocations: 1.095 MB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3947, allocations: 0.6729 MB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.3947, allocations: 8 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.3947, allocations: 7.438 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3947, allocations: 0 / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.4171, allocations: 1.572 MB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.18, allocations: 9.469 kB / 1.292 GB, free: 3.809 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.59704972198233]