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.004669/0.004669, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00109/0.00109, allocations: 201.8 kB / 16.68 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.295/2.295, allocations: 390.3 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 67.61 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3321, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003186/0.3354, allocations: 1.293 MB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007306/0.3361, allocations: 311.2 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.3362, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.3362, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.3364, allocations: 7.922 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.3367, allocations: 79.72 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.783e-05/0.3368, allocations: 43.78 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.3369, allocations: 3.984 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.337, allocations: 27.98 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.3371, allocations: 15.92 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3371, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.3374, allocations: 83.91 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.3374, allocations: 7.875 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.3375, allocations: 11.94 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3377, allocations: 80 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3377, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3377, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3377, allocations: 0 / 1.089 GB, free: 32 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.000475/0.3382, allocations: 351.4 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3382, allocations: 12.03 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.3383, allocations: 34.73 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.3383, allocations: 4.891 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3385, allocations: 176.3 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3385, allocations: 384 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.3385, allocations: 4.125 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3387, allocations: 41.69 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3387, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3387, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3387, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.3388, allocations: 15.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.339, allocations: 157.7 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.3391, allocations: 38.52 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.3392, allocations: 12.86 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.3406, allocations: 1.187 MB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3406, allocations: 30.56 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 3.697e-06/0.3406, allocations: 3.984 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001965/0.3408, allocations: 53.62 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3409, allocations: 51.41 kB / 1.091 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.341, allocations: 109.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.341, allocations: 25.7 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.3411, allocations: 80.14 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3411, allocations: 27.77 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.3412, allocations: 17.72 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3413, allocations: 310.8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.3413, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.3414, allocations: 7.984 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.3414, allocations: 16.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3414, allocations: 4 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001109/0.3416, allocations: 45.62 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3416, allocations: 8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3416, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3416, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.3417, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3417, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.3417, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3418, 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 8.756e-05/0.3419, allocations: 109.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3419, allocations: 11.89 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.3421, allocations: 61.52 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3421, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3421, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3421, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.3423, allocations: 161.6 kB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3423, allocations: 0 / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.3423, allocations: 8 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3423, allocations: 3.938 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3423, allocations: 4 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3424, allocations: 7.984 kB / 1.092 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3424, allocations: 0 / 1.092 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.3425, allocations: 77 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.3426, allocations: 81.06 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3426, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.3427, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.3427, allocations: 4.406 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3427, allocations: 8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.3428, allocations: 79.59 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3428, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003921/0.3432, allocations: 35.86 kB / 1.093 GB, free: 11.96 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.0005423/0.3437, allocations: 0.6357 MB / 1.093 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3439, allocations: 23.94 kB / 1.093 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3439, allocations: 0 / 1.093 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.3439, allocations: 15.92 kB / 1.093 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3442, allocations: 5.797 kB / 1.093 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.3448, allocations: 159.6 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3451, allocations: 0.6768 MB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.062e-05/0.3451, allocations: 11.98 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.3452, allocations: 15.38 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.3452, allocations: 0 / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.3666, allocations: 1.62 MB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.546, allocations: 7.984 kB / 1.096 GB, free: 8.816 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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