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.01047/0.01047, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002023/0.002023, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.42/2.42, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 75.81 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7613, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002192/0.7635, allocations: 1.282 MB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005205/0.7641, allocations: 313.4 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.7641, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.7641, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7642, allocations: 15.91 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.7645, allocations: 63.73 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.609e-05/0.7646, allocations: 47.83 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.7647, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.7648, allocations: 31.91 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.7648, allocations: 7.938 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.7648, allocations: 3.938 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.765, allocations: 87.91 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.765, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.7651, allocations: 19.86 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.7652, allocations: 74.09 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7652, allocations: 3.938 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7652, allocations: 0 / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7652, allocations: 0 / 1.168 GB, free: 1.832 MB / 0.8887 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.0003736/0.7656, allocations: 347.4 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7657, allocations: 12.92 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.7657, allocations: 30.75 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.7657, allocations: 12.84 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.7659, allocations: 180.3 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7659, allocations: 4.359 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.7659, allocations: 4.125 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.996e-05/0.766, allocations: 33.7 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.766, allocations: 0 / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.766, allocations: 4 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.766, allocations: 3.984 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.7661, allocations: 11.94 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.7662, allocations: 157.7 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.915e-05/0.7663, allocations: 34.61 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.7663, allocations: 16.86 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.7674, allocations: 1.187 MB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.7674, allocations: 30.56 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7675, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.7676, allocations: 57.53 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.7677, allocations: 51.41 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.7677, allocations: 105.8 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.7678, allocations: 29.64 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.7678, allocations: 88.14 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.7678, allocations: 7.906 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.7679, allocations: 17.62 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.768, allocations: 314.8 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.768, allocations: 8 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.768, allocations: 4 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.7681, allocations: 20.8 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7681, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.642e-05/0.7681, allocations: 49.62 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7682, allocations: 8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7682, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7682, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.7682, allocations: 7.984 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.7683, allocations: 4 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.7683, allocations: 0 / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.7683, allocations: 0 / 1.171 GB, free: 14.53 MB / 0.9044 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.639e-05/0.7684, allocations: 109.8 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.7684, allocations: 7.875 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.7685, allocations: 69.84 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7685, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7685, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7685, allocations: 7.984 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.7687, allocations: 165.5 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7687, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.7687, allocations: 4 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7687, allocations: 0 / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.7687, allocations: 4 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7687, allocations: 0 / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7687, allocations: 0 / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.1e-05/0.7688, allocations: 84.91 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.7689, allocations: 85.09 kB / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.7689, allocations: 0 / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.769, allocations: 0 / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.769, allocations: 4 kB / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.769, allocations: 7.938 kB / 1.171 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.769, allocations: 87.27 kB / 1.171 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.769, allocations: 0 / 1.171 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000205/0.7692, allocations: 28 kB / 1.171 GB, free: 13.77 MB / 0.9044 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.0004113/0.7697, allocations: 0.6358 MB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.7698, allocations: 27.92 kB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7698, allocations: 0 / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.7698, allocations: 8 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.77, allocations: 0 / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.7704, allocations: 163.6 kB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.7706, allocations: 0.6845 MB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.7707, allocations: 8.547 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.7707, allocations: 11.42 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.7707, allocations: 4 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.789, allocations: 1.63 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/8.014, allocations: 14.83 kB / 1.175 GB, free: 10.61 MB / 0.9044 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