Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_10_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.0007626/0.0007625, allocations: 98.11 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.004367/0.004367, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 12 kB / 0.8729 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.529, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001178/0.5302, allocations: 0.9843 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.5305, allocations: 123.6 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.26e-05/0.5306, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.5306, allocations: 3.984 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.5306, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.5308, allocations: 27.91 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.803e-05/0.5308, allocations: 11.88 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.5309, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.5309, allocations: 3.984 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.531, allocations: 11.98 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.531, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.5311, allocations: 55.94 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.5311, allocations: 7.938 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.5311, allocations: 29.7 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.694e-05/0.5312, allocations: 35.89 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5313, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5313, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.5313, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 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.0003076/0.5316, allocations: 333.8 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.5316, allocations: 12.03 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.5317, allocations: 34.69 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.905e-05/0.5317, allocations: 4.938 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5318, allocations: 168.3 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.5318, allocations: 384 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.5318, allocations: 4.312 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.771e-05/0.5319, allocations: 33.64 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.5319, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.5319, allocations: 3.984 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5319, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.532, allocations: 8 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.5321, allocations: 153.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.5322, allocations: 30.55 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.5322, allocations: 8.844 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.5328, allocations: 0.613 MB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.5328, allocations: 38.56 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5329, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001187/0.533, allocations: 41.59 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.533, allocations: 55.34 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.5331, allocations: 97.86 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.5331, allocations: 25.7 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.5331, allocations: 84.14 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.5332, allocations: 8.109 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.5332, allocations: 17.66 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5333, allocations: 310.8 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.5333, allocations: 4 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.5333, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.5333, allocations: 16.86 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5334, allocations: 0 / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.082e-05/0.5334, allocations: 49.53 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5334, allocations: 8.031 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5334, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.5335, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.5335, allocations: 4 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5335, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.5335, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5335, allocations: 4 kB / 1.026 GB, free: 12.01 MB / 0.7794 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.281e-05/0.5336, allocations: 111.7 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.5336, allocations: 3.938 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.227e-05/0.5337, allocations: 48.81 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5337, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5337, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5337, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.855e-05/0.5338, allocations: 149.7 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5338, allocations: 3.938 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.5339, allocations: 7.938 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5339, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.5339, allocations: 7.938 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5339, allocations: 4.016 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5339, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.506e-05/0.534, allocations: 57.14 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.534, allocations: 85.05 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.534, allocations: 3.984 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.5341, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-06/0.5341, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.5341, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.5341, allocations: 83.31 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5341, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001869/0.5343, allocations: 12 kB / 1.027 GB, free: 11.33 MB / 0.7794 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.0003457/0.5347, allocations: 0.6317 MB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.597e-05/0.5347, allocations: 12.03 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5347, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.5347, allocations: 7.938 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.535, allocations: 10.67 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.5357, allocations: 1.088 MB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.536, allocations: 0.6731 MB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.536, allocations: 16.03 kB / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.536, allocations: 11.44 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.536, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009791/0.5458, allocations: 1.223 MB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.546, allocations: 212.5 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.108, allocations: 0 / 1.031 GB, free: 7.387 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches