Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_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.006444/0.006444, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.0015/0.001501, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.56/2.56, allocations: 469.4 MB / 0.7421 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002265/0.2739, allocations: 1.263 MB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002829/0.2742, allocations: 117.4 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.2743, allocations: 0 / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.2743, allocations: 4 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.2744, allocations: 7.938 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2746, allocations: 43.77 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.834e-05/0.2747, allocations: 15.92 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.2747, allocations: 4 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.2747, allocations: 3.938 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.2748, allocations: 8 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2748, allocations: 3.984 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2749, allocations: 51.94 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.2749, allocations: 4 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.275, allocations: 7.938 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.2751, allocations: 35.89 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2751, allocations: 3.938 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2751, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2751, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 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.0003607/0.2755, allocations: 331.4 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2755, allocations: 16.03 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.2755, allocations: 34.69 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.2756, allocations: 0.9375 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2757, allocations: 168.3 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2757, allocations: 384 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2757, allocations: 4.125 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.956e-05/0.2758, allocations: 37.69 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.2758, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.2758, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2758, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.2759, allocations: 8 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.276, allocations: 153.7 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.2761, allocations: 22.52 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.2761, allocations: 12.86 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.2767, allocations: 0.6051 MB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2768, allocations: 42.55 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2768, allocations: 0 / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001366/0.2769, allocations: 37.7 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.277, allocations: 55.34 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.277, allocations: 97.84 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.277, allocations: 29.7 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.2771, allocations: 84.14 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.2771, allocations: 7.891 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.2772, allocations: 17.84 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.2773, allocations: 310.8 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.2773, allocations: 4 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.2773, allocations: 7.984 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.2773, allocations: 8.859 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2773, allocations: 3.938 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.16e-05/0.2774, allocations: 45.58 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2774, allocations: 16.03 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2774, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2774, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.2775, allocations: 4 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2775, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.2775, allocations: 7.984 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.2775, allocations: 0 / 1.223 GB, free: 10.58 MB / 0.9825 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.192e-05/0.2776, allocations: 111.2 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.2776, allocations: 3.938 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.676e-05/0.2777, allocations: 52.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2777, allocations: 192 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2777, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2777, allocations: 3.984 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.2778, allocations: 161.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2778, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.2779, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2779, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.2779, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2779, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2779, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.701e-05/0.278, allocations: 69.09 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.278, allocations: 77.11 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.278, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.2781, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.2781, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.2781, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.2781, allocations: 83.31 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2781, allocations: 4 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001984/0.2783, allocations: 19.92 kB / 1.224 GB, free: 9.895 MB / 0.9825 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.000368/0.2787, allocations: 0.6123 MB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.866e-05/0.2788, allocations: 12.03 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2788, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.2788, allocations: 11.92 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.279, allocations: 4 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.2799, allocations: 1.106 MB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2801, allocations: 0.6768 MB / 1.226 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.2802, allocations: 4 kB / 1.226 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.2802, allocations: 11.44 kB / 1.226 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.2802, allocations: 0 / 1.226 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/0.32, allocations: 1.432 MB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.428, allocations: 0.8125 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches