Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.00124/0.00124, allocations: 108 kB / 15.6 MB, free: 128 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.001262/0.001262, allocations: 191.7 kB / 16.53 MB, free: 6.395 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.249/2.249, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 67.88 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5084, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002107/0.5105, allocations: 1.295 MB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000492/0.511, allocations: 299 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.511, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.5111, allocations: 7.938 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.5111, allocations: 15.91 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.5114, allocations: 75.72 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.5115, allocations: 31.86 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.5115, allocations: 4 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.5116, allocations: 23.92 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.5116, allocations: 19.91 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.5116, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.5118, allocations: 79.91 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.5118, allocations: 7.938 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.5118, allocations: 11.94 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.512, allocations: 74.09 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.512, allocations: 8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.512, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.512, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003221/0.5123, allocations: 355.3 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.5124, allocations: 8.031 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.5124, allocations: 34.75 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.5124, allocations: 4.938 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.5125, allocations: 172.2 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.5126, allocations: 384 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.5126, allocations: 8.375 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.731e-05/0.5127, allocations: 49.55 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.5127, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.5127, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5127, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.5127, allocations: 7.984 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.5129, allocations: 161.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.513, allocations: 38.58 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.513, allocations: 16.84 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009881/0.514, allocations: 1.183 MB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.514, allocations: 34.56 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.514, allocations: 3.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001323/0.5142, allocations: 49.69 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.5142, allocations: 55.34 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.5143, allocations: 109.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.5143, allocations: 25.7 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.5143, allocations: 84.14 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.5144, allocations: 11.8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.5144, allocations: 17.72 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.5145, allocations: 314.8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.5145, allocations: 7.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.5145, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.5146, allocations: 16.86 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5146, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.604e-05/0.5146, allocations: 49.62 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.5147, allocations: 7.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5147, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.5147, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.37e-05/0.5147, allocations: 12 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.5147, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.5148, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.5148, allocations: 0 / 1.022 GB, free: 13.22 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 (3): * Single equations (assignments): 3 * 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.879e-05/0.5148, allocations: 114.5 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.5149, allocations: 7.844 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.515, allocations: 62.23 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.515, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.515, allocations: 48 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.515, allocations: 3.984 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.5151, allocations: 161.6 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5151, allocations: 7.875 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.5151, allocations: 7.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5151, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.5152, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5152, allocations: 11.92 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5152, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.876e-05/0.5153, allocations: 69.12 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.5153, allocations: 96.88 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.5153, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.5154, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.5154, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5154, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.5154, allocations: 91.27 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5154, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001934/0.5156, allocations: 24 kB / 1.023 GB, free: 12.46 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 (3): * Single equations (assignments): 3 * 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.0003746/0.516, allocations: 0.6319 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.312e-05/0.5161, allocations: 15.98 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5161, allocations: 0 / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.498e-05/0.5161, allocations: 15.94 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.5163, allocations: 12 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.5167, allocations: 167.7 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.5169, allocations: 0.6806 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.5169, allocations: 8 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.5169, allocations: 11.44 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5169, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3033/0.8203, allocations: 1.592 MB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.334/10.15, allocations: 0.5 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches