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.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.001386/0.001386, allocations: 112.9 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.001393/0.001393, allocations: 189.9 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.188 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.477/2.477, allocations: 476.7 MB / 0.7628 GB, free: 15.15 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 71.88 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7791, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001964/0.7811, allocations: 1.264 MB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002486/0.7814, allocations: 125.8 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.7814, allocations: 1.75 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.7814, allocations: 0 / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.7815, allocations: 10.7 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.7816, allocations: 34.17 kB / 1.273 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.214e-05/0.7817, allocations: 16.03 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.7817, allocations: 10.12 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.7818, allocations: 8.031 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.7818, allocations: 8.672 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.7818, allocations: 0.7188 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.7819, allocations: 51.05 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.7819, allocations: 4.5 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.782, allocations: 7.391 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.7821, allocations: 40.02 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.7821, allocations: 0.9688 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7821, allocations: 0 / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7821, allocations: 4 kB / 1.273 GB, free: 6.688 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002667/0.7824, allocations: 330.3 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.7824, allocations: 8.844 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.908e-05/0.7824, allocations: 32.12 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.845e-05/0.7824, allocations: 1.75 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.087e-05/0.7825, allocations: 179.2 kB / 1.273 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.7825, allocations: 1.438 kB / 1.273 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.7825, allocations: 5.531 kB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.263e-05/0.7826, allocations: 34.67 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.7826, allocations: 0 / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.7826, allocations: 0.8438 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.7826, allocations: 0 / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.7826, allocations: 9 kB / 1.273 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.318e-05/0.7827, allocations: 152 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.7828, allocations: 28.12 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.7828, allocations: 12.3 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/0.7833, allocations: 0.6058 MB / 1.274 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.7833, allocations: 31.98 kB / 1.274 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7833, allocations: 0 / 1.274 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000113/0.7834, allocations: 45.55 kB / 1.274 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.486e-05/0.7834, allocations: 52.31 kB / 1.274 GB, free: 5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.119e-05/0.7835, allocations: 98.75 kB / 1.274 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.7835, allocations: 31.3 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.176e-05/0.7835, allocations: 81.02 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.7835, allocations: 9.812 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.7835, allocations: 12.95 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.7836, allocations: 316.3 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.7836, allocations: 2.438 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.7836, allocations: 2.984 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.7836, allocations: 18.84 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7836, allocations: 0 / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.177e-05/0.7837, allocations: 44.36 kB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.7837, allocations: 9.125 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.7837, allocations: 0 / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7837, allocations: 1.547 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.7837, allocations: 8.094 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.7837, allocations: 3.984 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.7838, allocations: 0.7812 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.7838, allocations: 1.906 kB / 1.275 GB, free: 4.375 MB / 0.9981 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 3.425e-05/0.7838, allocations: 115.5 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.7838, allocations: 5.547 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/0.7839, allocations: 51.58 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.7839, allocations: 0.875 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7839, allocations: 5.797 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.7839, allocations: 0 / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.883e-05/0.7839, allocations: 152.2 kB / 1.275 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7839, allocations: 0 / 1.275 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.784, allocations: 4.281 kB / 1.275 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.784, allocations: 5 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.784, allocations: 0 / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.784, allocations: 0.8125 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.784, allocations: 0.5625 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.569e-05/0.784, allocations: 70.03 kB / 1.275 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.784, allocations: 78.55 kB / 1.275 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.784, allocations: 4.5 kB / 1.275 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.7841, allocations: 5.031 kB / 1.275 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.7841, allocations: 1.469 kB / 1.275 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.7841, allocations: 5.453 kB / 1.275 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.7841, allocations: 78.72 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7841, allocations: 0.7188 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001787/0.7843, allocations: 16.28 kB / 1.276 GB, free: 3.746 MB / 0.9981 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.0002263/0.7845, allocations: 0.6205 MB / 1.276 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.625e-05/0.7846, allocations: 10.56 kB / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7846, allocations: 0 / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.7846, allocations: 3.844 kB / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.7848, allocations: 12.88 kB / 1.276 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.7855, allocations: 1.093 MB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.7857, allocations: 0.6835 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.7857, allocations: 6.156 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.7858, allocations: 8.406 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7858, allocations: 1 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.808, allocations: 1.407 MB / 1.279 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/7.619, allocations: 6.422 kB / 1.279 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 12.832867768000142]