Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.004784/0.004784, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.00117/0.00117, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.066/2.066, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 66.02 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2037, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00177/0.2055, allocations: 1.293 MB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004501/0.206, allocations: 303.3 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.206, allocations: 4 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.2061, allocations: 3.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.2062, allocations: 11.92 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.2064, allocations: 75.7 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.2065, allocations: 39.84 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.2065, allocations: 8 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.888e-05/0.2066, allocations: 23.92 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.543e-05/0.2066, allocations: 11.92 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.2067, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2068, allocations: 83.91 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.2068, allocations: 7.938 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.2068, allocations: 15.92 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.207, allocations: 74.66 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.207, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.207, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.207, allocations: 0 / 1.089 GB, free: 36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003181/0.2073, allocations: 348.3 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2074, allocations: 8.031 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.2074, allocations: 34.73 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.2074, allocations: 8.844 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.2075, allocations: 172.3 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2075, allocations: 4.375 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.2075, allocations: 12.06 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.2076, allocations: 33.69 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.2076, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2077, allocations: 3.984 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2077, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.2077, allocations: 15.94 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.2078, allocations: 161.7 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.978e-05/0.2079, allocations: 38.58 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.2079, allocations: 12.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009031/0.2088, allocations: 1.179 MB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2089, allocations: 38.56 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2089, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001307/0.209, allocations: 53.59 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.209, allocations: 51.41 kB / 1.091 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.2091, allocations: 117.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2091, allocations: 25.7 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.126e-05/0.2092, allocations: 80.14 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2092, allocations: 11.89 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.2092, allocations: 17.72 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.2093, allocations: 310.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.2093, allocations: 8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.2093, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.2094, allocations: 20.84 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2094, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.993e-05/0.2094, allocations: 49.53 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2095, allocations: 6.031 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.2095, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2095, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.5e-05/0.2095, allocations: 19.94 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2095, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.2096, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2096, allocations: 0 / 1.092 GB, free: 12.73 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 (3): * Single equations (assignments): 3 * 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.645e-05/0.2096, allocations: 109.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.2096, allocations: 3.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2097, allocations: 65.58 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2098, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2098, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.2098, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.673e-05/0.2099, allocations: 162 kB / 1.092 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2099, allocations: 3.938 kB / 1.092 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.2099, allocations: 7.938 kB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2099, allocations: 0 / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.2099, allocations: 3.938 kB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2099, allocations: 4 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2099, allocations: 7.984 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.361e-05/0.21, allocations: 76.95 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.2101, allocations: 89.05 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.2101, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.453e-05/0.2101, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.2101, allocations: 7.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.2101, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.2102, allocations: 91.28 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.2102, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001869/0.2104, allocations: 27.98 kB / 1.093 GB, free: 11.97 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 (3): * Single equations (assignments): 3 * 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.0003333/0.2107, allocations: 0.6396 MB / 1.093 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.581e-05/0.2108, allocations: 8 kB / 1.093 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2108, allocations: 4 kB / 1.093 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.2108, allocations: 19.92 kB / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.211, allocations: 4 kB / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.2113, allocations: 167.8 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2115, allocations: 0.6768 MB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.2115, allocations: 8 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.2115, allocations: 11.44 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2115, allocations: 0 / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.583/1.794, allocations: 1.626 MB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/14.39, allocations: 9.484 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches