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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001284/0.001284, 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.001356/0.001356, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.45 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2466, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002256/0.2489, allocations: 1.257 MB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002647/0.2492, allocations: 119.6 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.2493, allocations: 4 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.2493, allocations: 3.938 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.2494, allocations: 3.984 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.2496, allocations: 39.83 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.2496, allocations: 19.86 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.2497, allocations: 0 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.2497, allocations: 8 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.2498, allocations: 3.984 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2498, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.25, allocations: 51.95 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.25, allocations: 3.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.25, allocations: 7.969 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2502, allocations: 39.89 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2502, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2502, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2502, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 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.0004238/0.2506, allocations: 331.8 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2507, allocations: 12.62 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2507, allocations: 30.75 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.2507, allocations: 4.938 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.2509, allocations: 164.3 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.2509, allocations: 384 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2509, allocations: 4.375 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.191e-05/0.251, allocations: 45.56 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.2511, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.2511, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2511, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.2511, allocations: 8 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.2513, allocations: 153.7 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.35e-05/0.2514, allocations: 18.67 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.2514, allocations: 12.86 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/0.2522, allocations: 0.6128 MB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2522, allocations: 34.56 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.2522, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.2524, allocations: 41.7 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2524, allocations: 55.39 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.2525, allocations: 97.8 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2525, allocations: 29.7 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.2526, allocations: 80.14 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2526, allocations: 3.906 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2526, allocations: 17.84 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2527, allocations: 318.8 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.2528, allocations: 4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-06/0.2528, allocations: 7.875 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.2528, allocations: 12.86 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2528, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.059e-05/0.2529, allocations: 41.83 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2529, allocations: 8.078 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2529, allocations: 4 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.253, allocations: 3.984 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.253, allocations: 4 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.253, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.2531, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2531, allocations: 4 kB / 1.057 GB, free: 4.176 MB / 0.8106 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 7.773e-05/0.2532, allocations: 113.7 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.2532, allocations: 3.938 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.826e-05/0.2533, allocations: 52.81 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2533, allocations: 4 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2533, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2533, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.2534, allocations: 153.7 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2534, allocations: 3.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.2534, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2534, allocations: 4 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.2534, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2535, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2535, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.002e-05/0.2535, allocations: 73 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.2536, allocations: 85.05 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2536, allocations: 4 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.2536, allocations: 4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.2536, allocations: 3.984 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.2536, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.2537, allocations: 83.31 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2537, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001982/0.2539, allocations: 16 kB / 1.057 GB, free: 3.484 MB / 0.8106 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.0003641/0.2542, allocations: 0.6123 MB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.652e-05/0.2543, allocations: 20.02 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2543, allocations: 3.938 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.2544, allocations: 4 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2546, allocations: 7.938 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.2555, allocations: 1.095 MB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2557, allocations: 0.6768 MB / 1.059 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.2558, allocations: 8 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.2558, allocations: 11.44 kB / 1.059 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2558, allocations: 0 / 1.059 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.3563, allocations: 1.401 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.274, allocations: 5.625 kB / 1.061 GB, free: 15.59 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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