Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004737/0.004737, allocations: 100.8 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 195.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.83 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6854, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001979/0.6875, allocations: 1.251 MB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.6877, allocations: 131.5 kB / 1.167 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.6878, allocations: 3.938 kB / 1.167 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.6878, allocations: 0 / 1.167 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.6878, allocations: 0 / 1.167 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.688, allocations: 47.81 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.6881, allocations: 11.94 kB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.6881, allocations: 3.984 kB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.6882, allocations: 11.94 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.6882, allocations: 8 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.6882, allocations: 0 / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.6883, allocations: 47.94 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.6884, allocations: 0 / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.6884, allocations: 11.94 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/0.6885, allocations: 31.94 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6885, allocations: 0 / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6885, allocations: 4 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.6885, allocations: 0 / 1.168 GB, free: 2.234 MB / 0.8887 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.0003185/0.6888, allocations: 337.8 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6889, allocations: 8.922 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.6889, allocations: 38.73 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.6889, allocations: 4.844 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.689, allocations: 164.3 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.6891, allocations: 384 / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.6891, allocations: 12.06 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.061e-05/0.6891, allocations: 25.7 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.6892, allocations: 8 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.6892, allocations: 7.984 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6892, allocations: 0 / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.6892, allocations: 4 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.6893, allocations: 149.7 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.6894, allocations: 30.58 kB / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.6894, allocations: 12.73 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.69, allocations: 0.6091 MB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.6901, allocations: 30.56 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.6901, allocations: 0 / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001207/0.6902, allocations: 41.69 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.6902, allocations: 55.41 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.6903, allocations: 97.84 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.6903, allocations: 25.83 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.6903, allocations: 84.14 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.6904, allocations: 11.91 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.6904, allocations: 13.66 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.6905, allocations: 314.8 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.6905, allocations: 3.938 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.6905, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.6906, allocations: 20.84 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6906, allocations: 4.062 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.675e-05/0.6906, allocations: 41.64 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.6906, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.6907, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6907, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.6907, allocations: 3.938 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6907, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.6908, allocations: 3.938 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.6908, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 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 5.622e-05/0.6908, allocations: 113.9 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.6908, allocations: 11.84 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.6909, allocations: 44.81 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.6909, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6909, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.691, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.165e-05/0.691, allocations: 153.6 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.691, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.6911, allocations: 7.984 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6911, allocations: 4.031 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.6911, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6911, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6911, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.884e-05/0.6912, allocations: 75.48 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.6912, allocations: 77.11 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.6912, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.6912, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.6913, allocations: 8.031 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.6913, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.6913, allocations: 79.28 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6913, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001843/0.6915, allocations: 19.98 kB / 1.17 GB, free: 15.04 MB / 0.9044 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.0003223/0.6918, allocations: 0.6201 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.332e-05/0.6919, allocations: 12 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6919, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.6919, allocations: 4 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.6921, allocations: 15.92 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/0.6929, allocations: 1.091 MB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.6931, allocations: 0.6728 MB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.6931, allocations: 19.97 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.6931, allocations: 7.438 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.6931, allocations: 0 / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.7105, allocations: 1.434 MB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/8.027, allocations: 11.88 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches