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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001367/0.001367, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5201, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002193/0.5223, allocations: 1.323 MB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.5227, allocations: 127.6 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.5227, allocations: 0 / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.5227, allocations: 0 / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.5228, allocations: 7.938 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.5229, allocations: 31.89 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.973e-05/0.523, allocations: 15.86 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.523, allocations: 4 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.523, allocations: 8 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.5231, allocations: 3.984 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.5231, allocations: 3.938 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.5232, allocations: 51.95 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.5232, allocations: 4 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.5233, allocations: 3.984 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.764e-05/0.5234, allocations: 43.88 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5234, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5234, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.5234, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 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.0003498/0.5237, allocations: 337.8 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5238, allocations: 8.031 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.5238, allocations: 30.75 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.959e-05/0.5238, allocations: 4.875 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.524, allocations: 168.3 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.524, allocations: 4.375 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.524, allocations: 384 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.619e-05/0.5241, allocations: 45.56 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-06/0.5241, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.5241, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.5241, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.5241, allocations: 4 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.5243, allocations: 157.6 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.5243, allocations: 22.61 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.5243, allocations: 8.922 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.525, allocations: 0.6168 MB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.525, allocations: 34.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.525, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001132/0.5251, allocations: 37.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.5252, allocations: 63.52 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.5252, allocations: 93.86 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.5253, allocations: 29.64 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.5253, allocations: 84.14 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.5253, allocations: 3.906 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.5253, allocations: 13.72 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.5254, allocations: 314.8 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.5255, allocations: 4 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.5255, allocations: 8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.5255, allocations: 12.8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5255, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.254e-05/0.5256, allocations: 45.64 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.5256, allocations: 7.984 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.5256, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.5256, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/0.5257, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.5257, allocations: 96 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.5257, allocations: 4 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.5257, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 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.889e-05/0.5258, allocations: 110.4 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-06/0.5258, allocations: 3.938 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.5259, allocations: 48.75 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5259, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5259, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5259, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.526, allocations: 153.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.526, allocations: 7.875 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.526, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.526, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.526, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5261, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5261, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.494e-05/0.5261, allocations: 69.06 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.5262, allocations: 84.95 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.5262, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.5262, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.5262, allocations: 3.984 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.5262, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.5263, allocations: 87.22 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5263, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001906/0.5265, allocations: 12 kB / 1.021 GB, free: 13.96 MB / 0.7794 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.0003321/0.5268, allocations: 0.6202 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.892e-05/0.5269, allocations: 19.92 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5269, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.5269, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.5271, allocations: 9.719 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.5279, allocations: 1.085 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.5282, allocations: 0.6808 MB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.5282, allocations: 4 kB / 1.023 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.5282, allocations: 7.438 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5282, allocations: 0 / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.5446, allocations: 1.296 MB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.5448, allocations: 216.1 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.064, allocations: 0 / 1.025 GB, free: 9.941 MB / 0.7794 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