Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.002288/0.002288, allocations: 108 kB / 15.61 MB, free: 152 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.002225/0.002225, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.217/1.217, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.425/2.425, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 70.36 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2294, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002081/0.2315, allocations: 1.262 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.2318, allocations: 127.5 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.2318, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.2318, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.2319, allocations: 3.938 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.2321, allocations: 39.88 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.2e-05/0.2321, allocations: 15.88 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.2322, allocations: 4 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.2322, allocations: 7.984 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.2322, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2322, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2324, allocations: 51.94 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.2324, allocations: 3.938 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.2324, allocations: 3.984 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.574e-05/0.2325, allocations: 43.89 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2325, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2325, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2325, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 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.0003424/0.2329, allocations: 331.8 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2329, allocations: 8.031 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.2329, allocations: 34.69 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.233, allocations: 0.9375 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2331, allocations: 172.3 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2331, allocations: 4.375 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-06/0.2331, allocations: 384 / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.71e-05/0.2332, allocations: 33.64 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2332, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.2332, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.2332, allocations: 4 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.2332, allocations: 4 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.2334, allocations: 157.6 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.2335, allocations: 26.55 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.2335, allocations: 12.91 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006537/0.2341, allocations: 0.6051 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.2342, allocations: 34.56 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2342, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001176/0.2343, allocations: 41.69 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2343, allocations: 59.34 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.2344, allocations: 97.86 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2344, allocations: 25.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.2345, allocations: 84.12 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2345, allocations: 8.031 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.2345, allocations: 13.72 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2346, allocations: 314.8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.2346, allocations: 7.938 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.2347, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.2347, allocations: 12.86 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2347, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.978e-05/0.2348, allocations: 49.62 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2348, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2348, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2348, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/0.2348, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2349, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.2349, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-06/0.2349, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 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.606e-05/0.2349, allocations: 121.8 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.235, allocations: 8.156 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.235, allocations: 44.81 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2351, allocations: 4 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2351, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2351, allocations: 3.984 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.33e-05/0.2352, allocations: 145.7 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2352, allocations: 7.938 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.2352, allocations: 7.922 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2352, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.2352, allocations: 4 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2352, allocations: 4.031 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2352, allocations: 0 / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.728e-05/0.2353, allocations: 61.05 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.2354, allocations: 89.03 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.2354, allocations: 4 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.2354, allocations: 3.938 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.2354, allocations: 0 / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.2354, allocations: 4.031 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.2354, allocations: 79.28 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2355, allocations: 0 / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001696/0.2356, allocations: 16 kB / 1.068 GB, free: 9.441 MB / 0.8262 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.0003635/0.236, allocations: 0.6163 MB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.952e-05/0.2361, allocations: 19.97 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2361, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.2361, allocations: 7.938 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.2363, allocations: 11.98 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.2371, allocations: 1.089 MB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2374, allocations: 0.6729 MB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.2374, allocations: 4.062 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.2374, allocations: 15.44 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2374, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.883/2.121, allocations: 1.41 MB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/15.9, allocations: 8.062 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches