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.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.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.0007783/0.0007784, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004484/0.004484, allocations: 173 kB / 16.26 MB, free: 6.613 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.192/1.192, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.285/2.285, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 12 kB / 0.873 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5044/0.5047, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001094/0.5059, allocations: 1.019 MB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000491/0.5064, allocations: 311 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.5064, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.5064, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.5065, allocations: 7.922 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.5067, allocations: 63.78 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.5068, allocations: 31.92 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.5068, allocations: 3.938 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.5069, allocations: 23.92 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.5069, allocations: 11.92 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.5069, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.5071, allocations: 83.91 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.5071, allocations: 3.938 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.5071, allocations: 37.62 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.5073, allocations: 78.11 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5073, allocations: 3.938 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5073, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.5073, allocations: 3.938 kB / 1.025 GB, free: 14.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002929/0.5076, allocations: 347.4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5076, allocations: 16.03 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.5077, allocations: 30.75 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.5077, allocations: 4.844 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.5078, allocations: 176.2 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.5078, allocations: 384 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.5078, allocations: 384 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.132e-05/0.5079, allocations: 45.62 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.5079, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.5079, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.5079, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.539e-05/0.508, allocations: 19.92 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.5081, allocations: 157.7 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.5082, allocations: 30.58 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.5082, allocations: 12.91 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009203/0.5092, allocations: 1.195 MB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.5092, allocations: 34.55 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5092, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001195/0.5093, allocations: 49.64 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.5094, allocations: 55.39 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.5094, allocations: 113.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.5094, allocations: 25.7 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.5095, allocations: 80.14 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.5095, allocations: 7.906 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.5095, allocations: 9.719 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.5096, allocations: 314.8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.5096, allocations: 4 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.5096, allocations: 7.984 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.5097, allocations: 25.12 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5097, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.412e-05/0.5098, allocations: 57.47 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.5098, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5098, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.5098, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.5098, allocations: 4 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.5098, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.5099, allocations: 4 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.5099, allocations: 0 / 1.028 GB, free: 10.9 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.058e-05/0.5099, allocations: 110.4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.51, allocations: 7.938 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.5101, allocations: 65.52 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5101, allocations: 3.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5101, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.5101, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.811e-05/0.5102, allocations: 157.6 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5102, allocations: 11.94 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.5102, allocations: 4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5102, allocations: 3.984 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.5102, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5102, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5103, allocations: 3.938 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.713e-05/0.5103, allocations: 80.97 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.5104, allocations: 85.05 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.5104, allocations: 4 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.5104, allocations: 3.984 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.5105, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.5105, allocations: 4 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.5105, allocations: 83.28 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5105, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001903/0.5107, allocations: 27.98 kB / 1.028 GB, free: 10.15 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.0003445/0.5111, allocations: 0.6397 MB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.247e-05/0.5111, allocations: 23.92 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5111, allocations: 0 / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.5112, allocations: 8 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.5113, allocations: 1.719 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.5116, allocations: 184.2 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.5118, allocations: 0.677 MB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.5119, allocations: 8.906 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.5119, allocations: 15.44 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5119, allocations: 3.938 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.522, allocations: 1.422 MB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.5222, allocations: 218.6 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.111, allocations: 4 kB / 1.031 GB, free: 6.957 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