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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009233/0.0009233, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005634/0.005634, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.378/2.378, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002718, allocations: 9.031 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001102/0.2282, allocations: 0.9905 MB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002612/0.2285, allocations: 131.6 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.2285, allocations: 0 / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.2285, allocations: 0 / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.2286, allocations: 7.922 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.2287, allocations: 27.91 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.759e-05/0.2288, allocations: 11.94 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.2288, allocations: 3.938 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.2288, allocations: 11.98 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.2289, allocations: 3.984 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2289, allocations: 4 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.229, allocations: 51.94 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.229, allocations: 3.938 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.2291, allocations: 25.7 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.735e-05/0.2292, allocations: 39.89 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2292, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2292, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.2292, allocations: 0 / 1.06 GB, free: 3.547 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.000289/0.2295, allocations: 333.2 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2295, allocations: 11.97 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.2295, allocations: 34.75 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.622e-05/0.2296, allocations: 0.9375 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2297, allocations: 168.4 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.2297, allocations: 4.375 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.2297, allocations: 8.312 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.859e-05/0.2298, allocations: 33.64 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.2298, allocations: 8 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-06/0.2298, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2298, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.2298, allocations: 4 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.23, allocations: 153.6 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.23, allocations: 30.61 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.23, allocations: 8.797 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/0.2306, allocations: 0.6208 MB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2307, allocations: 30.56 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2307, allocations: 0 / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001116/0.2308, allocations: 45.69 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2308, allocations: 55.41 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.2309, allocations: 93.86 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.2309, allocations: 25.7 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.2309, allocations: 80.14 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2309, allocations: 11.89 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.231, allocations: 13.66 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.2311, allocations: 314.8 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.2311, allocations: 8.062 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-06/0.2311, allocations: 4 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.2311, allocations: 16.8 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2311, allocations: 0 / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.768e-05/0.2312, allocations: 45.62 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2312, allocations: 4 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2312, allocations: 4 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.2312, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.2313, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2313, allocations: 8.094 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.2313, allocations: 3.938 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.2313, allocations: 0 / 1.062 GB, free: 1.035 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 5.554e-05/0.2314, allocations: 109.8 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.2314, allocations: 8.125 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.2315, allocations: 48.8 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2315, allocations: 0 / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2315, allocations: 0 / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2315, allocations: 4.031 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.946e-05/0.2316, allocations: 153.7 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2316, allocations: 3.938 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.2316, allocations: 4 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2316, allocations: 0 / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.2316, allocations: 0 / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2316, allocations: 0 / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2316, allocations: 3.984 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.725e-05/0.2317, allocations: 69.08 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.2317, allocations: 84.95 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.2318, allocations: 0 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.2318, allocations: 3.984 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.2318, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.2318, allocations: 4 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.845e-05/0.2318, allocations: 79.28 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2318, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00018/0.232, allocations: 16 kB / 1.063 GB, free: 364 kB / 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.0003202/0.2324, allocations: 0.6163 MB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.894e-05/0.2324, allocations: 8 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2324, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.2324, allocations: 11.94 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.2326, allocations: 12.09 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.2334, allocations: 1.099 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2336, allocations: 0.6731 MB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.2336, allocations: 7.984 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.2336, allocations: 7.438 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2336, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009413/0.243, allocations: 1.236 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.2433, allocations: 214 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.709, allocations: 4 kB / 1.067 GB, free: 12.43 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