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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006264/0.006265, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001746/0.001746, allocations: 186.8 kB / 16.67 MB, free: 5.926 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.542/2.542, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 68.09 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2564, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00193/0.2584, allocations: 1.272 MB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002469/0.2586, allocations: 119.5 kB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.2587, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.2587, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.2587, allocations: 7.922 kB / 1.243 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.2589, allocations: 43.89 kB / 1.243 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.259, allocations: 15.92 kB / 1.243 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.259, allocations: 0 / 1.243 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.2591, allocations: 7.938 kB / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.2591, allocations: 11.98 kB / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.2591, allocations: 0 / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2592, allocations: 43.95 kB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.2592, allocations: 0 / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.2593, allocations: 19.91 kB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.437e-05/0.2594, allocations: 35.83 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2594, allocations: 4 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2594, allocations: 0 / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2594, allocations: 4 kB / 1.243 GB, free: 8.273 MB / 0.9981 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.0003335/0.2597, allocations: 331.4 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2598, allocations: 8.031 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.2598, allocations: 38.69 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.674e-05/0.2598, allocations: 0.9375 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2599, allocations: 160.4 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.26, allocations: 384 / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.26, allocations: 12.12 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.052e-05/0.26, allocations: 29.69 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.26, allocations: 0 / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2601, allocations: 8 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2601, allocations: 0 / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.2601, allocations: 7.938 kB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.2602, allocations: 149.7 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.2603, allocations: 30.55 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.2603, allocations: 8.797 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.261, allocations: 0.6091 MB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.261, allocations: 30.56 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.261, allocations: 0 / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001129/0.2611, allocations: 45.59 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2611, allocations: 59.53 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.2612, allocations: 101.8 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2612, allocations: 25.7 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.2613, allocations: 80.14 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.2613, allocations: 15.89 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.2613, allocations: 9.719 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2614, allocations: 314.8 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.2615, allocations: 4 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.2615, allocations: 4 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.2615, allocations: 16.86 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2615, allocations: 0 / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.037e-05/0.2616, allocations: 49.52 kB / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2616, allocations: 4 kB / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2616, allocations: 0 / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.2616, allocations: 4 kB / 1.245 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.678e-05/0.2616, allocations: 3.984 kB / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2617, allocations: 0 / 1.245 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.2617, allocations: 8.094 kB / 1.245 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.2617, allocations: 0 / 1.245 GB, free: 5.773 MB / 0.9981 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.962e-05/0.2617, allocations: 105.8 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-06/0.2618, allocations: 3.938 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.2618, allocations: 48.81 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.2618, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2619, allocations: 0 / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2619, allocations: 3.938 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.262, allocations: 169.6 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.262, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.262, allocations: 4 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.262, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.262, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.262, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.262, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.438e-05/0.2621, allocations: 69.06 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2621, allocations: 85.09 kB / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.2622, allocations: 3.938 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/0.2622, allocations: 0 / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-06/0.2622, allocations: 0 / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2622, allocations: 4 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.2622, allocations: 83.27 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2622, allocations: 0 / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001738/0.2624, allocations: 15.94 kB / 1.246 GB, free: 5.086 MB / 0.9981 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.0003606/0.2628, allocations: 0.6167 MB / 1.247 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.621e-05/0.2629, allocations: 15.98 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2629, allocations: 0 / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.2629, allocations: 7.938 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.2631, allocations: 4 kB / 1.247 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008165/0.2639, allocations: 1.095 MB / 1.248 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.2641, allocations: 0.6768 MB / 1.248 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.2642, allocations: 0 / 1.248 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.2642, allocations: 11.44 kB / 1.248 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/0.2642, allocations: 0 / 1.248 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.259/1.524, allocations: 1.43 MB / 1.25 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/15.11, allocations: 5.562 kB / 1.25 GB, free: 1.191 MB / 0.9981 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=400 --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