Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_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.008167/0.008167, allocations: 102 kB / 15.73 MB, free: 6.039 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.001768/0.001768, allocations: 193 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.041/2.041, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.075/3.075, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.088, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.004042/1.092, allocations: 1.26 MB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004683/1.092, allocations: 118.1 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/1.093, allocations: 0 / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/1.093, allocations: 4.594 kB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/1.093, allocations: 2.516 kB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/1.093, allocations: 36.81 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/1.093, allocations: 25.2 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/1.093, allocations: 1.781 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/1.093, allocations: 3.812 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/1.093, allocations: 12.41 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/1.093, allocations: 1.156 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/1.094, allocations: 50.94 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/1.094, allocations: 0.7969 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/1.094, allocations: 7.547 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/1.094, allocations: 43.33 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.094, allocations: 0 / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.206e-06/1.094, allocations: 4 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.094, allocations: 0 / 1.089 GB, free: 4.219 MB / 0.8575 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.0004909/1.095, allocations: 328.3 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/1.095, allocations: 9.547 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/1.095, allocations: 31.66 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/1.095, allocations: 2.781 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.095, allocations: 170.6 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/1.095, allocations: 1.438 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/1.095, allocations: 5.094 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/1.095, allocations: 38.98 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.095, allocations: 0 / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/1.095, allocations: 4 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.095, allocations: 1.406 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/1.095, allocations: 8.297 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/1.095, allocations: 151.5 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.235e-05/1.095, allocations: 21.7 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/1.095, allocations: 16.05 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008328/1.096, allocations: 0.6088 MB / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.096, allocations: 36.19 kB / 1.09 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.175e-06/1.096, allocations: 0 / 1.09 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002061/1.097, allocations: 41.83 kB / 1.09 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/1.097, allocations: 52.69 kB / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/1.097, allocations: 99.94 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/1.097, allocations: 25.7 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/1.097, allocations: 81.89 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.097, allocations: 9.406 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/1.097, allocations: 12.69 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/1.097, allocations: 312.8 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/1.097, allocations: 2.031 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/1.097, allocations: 7 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.209e-05/1.097, allocations: 23.06 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.097, allocations: 0 / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/1.097, allocations: 43.86 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.097, allocations: 6.031 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.097, allocations: 0 / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.097, allocations: 0.8438 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/1.097, allocations: 7.859 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.097, allocations: 8.484 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/1.097, allocations: 1.25 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.097, allocations: 4.812 kB / 1.091 GB, free: 1.906 MB / 0.8575 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.648e-05/1.098, allocations: 107.7 kB / 1.091 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/1.098, allocations: 5.672 kB / 1.091 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/1.098, allocations: 49.02 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.098, allocations: 0 / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.098, allocations: 1.891 kB / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.098, allocations: 0 / 1.091 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/1.098, allocations: 155.5 kB / 1.091 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.098, allocations: 0 / 1.091 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/1.098, allocations: 8.828 kB / 1.091 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.098, allocations: 1.25 kB / 1.091 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.098, allocations: 0 / 1.091 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.098, allocations: 0 / 1.091 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.098, allocations: 1.875 kB / 1.091 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/1.098, allocations: 77.17 kB / 1.091 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/1.098, allocations: 78.05 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/1.098, allocations: 5.094 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/1.098, allocations: 1.125 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/1.098, allocations: 2.031 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.098, allocations: 4 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.272e-05/1.098, allocations: 83.73 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.5e-07/1.098, allocations: 0 / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003623/1.099, allocations: 17.34 kB / 1.092 GB, free: 1.281 MB / 0.8575 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.0006947/1.099, allocations: 0.6168 MB / 1.092 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.099, allocations: 16.27 kB / 1.092 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.099, allocations: 0 / 1.092 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/1.1, allocations: 4.75 kB / 1.092 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/1.1, allocations: 6.016 kB / 1.092 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/1.101, allocations: 1.097 MB / 1.093 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/1.102, allocations: 0.6741 MB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.149e-05/1.102, allocations: 2.281 kB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/1.102, allocations: 9.469 kB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/1.102, allocations: 0 / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/1.131, allocations: 1.436 MB / 1.095 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.55, allocations: 22.19 kB / 1.095 GB, free: 14.46 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches