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.001247/0.001251, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001312, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.336/2.336, allocations: 437.1 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5009, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002211/0.5031, allocations: 1.259 MB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000297/0.5034, allocations: 115.5 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.5035, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.5035, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.5036, allocations: 3.938 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.5038, allocations: 47.88 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.643e-05/0.5038, allocations: 11.94 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.5039, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.5039, allocations: 7.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.5039, allocations: 11.98 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.504, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.5041, allocations: 47.95 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.5041, allocations: 7.984 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.5041, allocations: 7.938 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.5042, allocations: 35.88 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5042, allocations: 7.938 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.144e-05/0.5043, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.5043, allocations: 3.938 kB / 1.019 GB, free: 0.875 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.0003443/0.5046, allocations: 333.7 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5047, allocations: 8.031 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.5047, allocations: 34.75 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.5047, allocations: 0.9375 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.5048, allocations: 164.3 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5049, allocations: 4.359 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.5049, allocations: 8.375 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.036e-05/0.5049, allocations: 33.64 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.505, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.505, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.505, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.505, allocations: 7.938 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.5052, allocations: 149.7 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.678e-05/0.5052, allocations: 26.61 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.5053, allocations: 4.859 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.506, allocations: 0.613 MB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.506, allocations: 30.56 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/0.506, allocations: 3.984 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001305/0.5061, allocations: 53.53 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.5062, allocations: 55.53 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.5062, allocations: 93.86 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.5063, allocations: 25.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.5063, allocations: 80.14 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5063, allocations: 11.91 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.5064, allocations: 13.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5065, allocations: 314.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.5065, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.5065, allocations: 12 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.5065, allocations: 8.859 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5065, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.039e-05/0.5066, allocations: 49.56 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5066, allocations: 9.656 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5066, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5067, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.321e-05/0.5067, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5067, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.5067, allocations: 4.094 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.5067, allocations: 0 / 1.021 GB, free: 14.38 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.591e-05/0.5068, allocations: 109.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.5068, allocations: 7.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.5069, allocations: 52.75 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5069, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5069, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5069, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.325e-05/0.507, allocations: 153.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5071, allocations: 7.969 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.5071, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5071, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.5071, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5071, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5071, allocations: 3.984 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.629e-05/0.5072, allocations: 61.14 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.5072, allocations: 88.98 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.5072, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.734e-05/0.5073, allocations: 3.984 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.5073, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.5073, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.5073, allocations: 83.22 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5073, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001832/0.5075, allocations: 12 kB / 1.022 GB, free: 13.7 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.0003539/0.5079, allocations: 0.628 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.304e-05/0.5079, allocations: 12 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.508, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.508, allocations: 7.938 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.5082, allocations: 5.547 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/0.509, allocations: 1.095 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.5092, allocations: 0.6768 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.5093, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.5093, allocations: 7.438 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.5093, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.5251, allocations: 1.41 MB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/7.326, allocations: 6.016 kB / 1.025 GB, free: 9.793 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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