Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_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.006924/0.006925, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.00167/0.00167, allocations: 190.6 kB / 16.67 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.38 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2153, allocations: 140.4 MB / 1.087 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002009/0.2173, allocations: 1.257 MB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000267/0.2176, allocations: 127.9 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.2177, allocations: 0 / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.2177, allocations: 0 / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.2178, allocations: 7.922 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.218, allocations: 35.89 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.72e-05/0.218, allocations: 15.88 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.2181, allocations: 4 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.2181, allocations: 7.984 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.2181, allocations: 11.92 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2182, allocations: 4 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.2183, allocations: 51.94 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.2183, allocations: 3.938 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.2183, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2184, allocations: 43.88 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2184, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2184, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2185, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 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.0003339/0.2188, allocations: 338.4 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.2188, allocations: 8.078 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.2189, allocations: 30.75 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.2189, allocations: 0.9375 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.219, allocations: 176.2 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.219, allocations: 384 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.219, allocations: 4.125 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.57e-05/0.2191, allocations: 29.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.2191, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2191, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.2192, allocations: 3.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.2192, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.2193, allocations: 158.2 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.2194, allocations: 22.61 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.2194, allocations: 12.86 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/0.22, allocations: 0.6091 MB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2201, allocations: 30.56 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2201, allocations: 0 / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000124/0.2202, allocations: 45.62 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.2202, allocations: 55.41 kB / 1.09 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.2203, allocations: 105.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2203, allocations: 25.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.2204, allocations: 84.27 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2204, allocations: 8.125 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.2204, allocations: 21.7 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.2205, allocations: 310.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.2205, allocations: 7.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-06/0.2205, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.2206, allocations: 16.8 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2206, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.694e-05/0.2206, allocations: 45.69 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.2207, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2207, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.2207, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.2207, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2207, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.2208, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2208, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 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 6.883e-05/0.2209, allocations: 109.8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.2209, allocations: 7.969 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.221, allocations: 48.75 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.221, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.221, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.221, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.157e-05/0.2211, allocations: 153.6 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2211, allocations: 0 / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.2211, allocations: 0 / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2211, allocations: 4 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.2211, allocations: 0 / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2211, allocations: 4.031 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2211, allocations: 3.984 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.413e-05/0.2212, allocations: 72.92 kB / 1.091 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.2213, allocations: 81.11 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-06/0.2213, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.841e-05/0.2213, allocations: 3.984 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.2213, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2213, allocations: 8.031 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.2214, allocations: 79.28 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2214, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001928/0.2216, allocations: 16 kB / 1.092 GB, free: 13.19 MB / 0.8575 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.0003461/0.2219, allocations: 0.6202 MB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.222, allocations: 15.88 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.222, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.222, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.2222, allocations: 8 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.223, allocations: 1.095 MB / 1.093 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.2232, allocations: 0.6729 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.2233, allocations: 4.062 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.2233, allocations: 11.44 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2233, allocations: 0 / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2801/0.5034, allocations: 1.433 MB / 1.095 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.896/9.399, allocations: 7.422 kB / 1.095 GB, free: 9.277 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches