Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.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.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.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_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.001185/0.001185, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001181/0.001181, allocations: 189.9 kB / 16.25 MB, free: 6.633 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.166/1.166, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.187/2.187, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.89 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4635, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1622/0.6257, allocations: 190.1 MB / 1.203 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004846/0.6306, allocations: 4.011 MB / 1.207 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.6309, allocations: 19.88 kB / 1.207 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.6317, allocations: 413.9 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.6341, allocations: 1.443 MB / 1.208 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.6364, allocations: 1.258 MB / 1.21 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.6378, allocations: 1.635 MB / 1.211 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009099/0.6387, allocations: 0.9391 MB / 1.212 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009402/0.6397, allocations: 0.9344 MB / 1.213 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008167/0.6405, allocations: 0.8916 MB / 1.214 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.6406, allocations: 100 kB / 1.214 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.6422, allocations: 1.356 MB / 1.215 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.6425, allocations: 358.9 kB / 1.216 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.6429, allocations: 0.5133 MB / 1.216 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.6445, allocations: 1.722 MB / 1.218 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.6445, allocations: 0 / 1.218 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6445, allocations: 0 / 1.218 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.6445, allocations: 3.938 kB / 1.218 GB, free: 4.199 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00262/0.6471, allocations: 1.45 MB / 1.219 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.6472, allocations: 11.97 kB / 1.219 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.6473, allocations: 94.52 kB / 1.219 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.6487, allocations: 242.8 kB / 1.22 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.6494, allocations: 0.5837 MB / 1.22 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.6494, allocations: 37 kB / 1.22 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6496, allocations: 51.91 kB / 1.22 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.6509, allocations: 0.9648 MB / 1.221 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.6509, allocations: 11.92 kB / 1.221 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.651, allocations: 16 kB / 1.221 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.651, allocations: 28 kB / 1.221 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.6524, allocations: 0.9406 MB / 1.222 GB, free: 15.6 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/0.657, allocations: 4.25 MB / 1.226 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008402/0.6578, allocations: 0.6017 MB / 1.227 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/0.6585, allocations: 0.5136 MB / 1.227 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008979/0.6594, allocations: 0.8783 MB / 1.228 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.6595, allocations: 39 kB / 1.228 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001527/0.661, allocations: 447.2 kB / 1.229 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 1.613e-06/0.661, allocations: 0 / 1.229 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01687/0.6779, allocations: 3.841 MB / 1.232 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.6779, allocations: 59.78 kB / 1.233 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.6786, allocations: 0.7117 MB / 1.233 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.6787, allocations: 37.7 kB / 1.233 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.6789, allocations: 320.6 kB / 1.234 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.6791, allocations: 177.4 kB / 1.234 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.6793, allocations: 150 kB / 1.234 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.6794, allocations: 330 kB / 1.234 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.68, allocations: 392.9 kB / 1.235 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.6807, allocations: 493.5 kB / 1.235 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.682, allocations: 0.9219 MB / 1.236 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.682, allocations: 0 / 1.236 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01088/0.6929, allocations: 2.56 MB / 1.238 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6929, allocations: 8 kB / 1.238 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6929, allocations: 0 / 1.238 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00921/0.7021, allocations: 1.745 MB / 1.24 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.7025, allocations: 87.88 kB / 1.24 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.7139, allocations: 7.152 MB / 1.247 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.7145, allocations: 28.05 kB / 1.247 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.7146, allocations: 51.86 kB / 1.247 GB, free: 5.016 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.7149, allocations: 212.9 kB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.715, allocations: 82.97 kB / 1.248 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/0.7198, allocations: 1.738 MB / 1.249 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.7199, allocations: 15.94 kB / 1.249 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7199, allocations: 4 kB / 1.249 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.7199, allocations: 3.984 kB / 1.249 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.7252, allocations: 2.544 MB / 1.252 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7252, allocations: 0 / 1.252 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.7256, allocations: 87.89 kB / 1.252 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3677/1.093, allocations: 0.7997 MB / 1.253 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.093, allocations: 15.38 kB / 1.253 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/1.099, allocations: 4.853 MB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.099, allocations: 5.625 kB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/1.104, allocations: 2.145 MB / 1.259 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/1.105, allocations: 243.4 kB / 1.26 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.105, allocations: 13.36 kB / 1.26 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/1.105, allocations: 31.11 kB / 1.26 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.106, allocations: 48.59 kB / 1.26 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/1.106, allocations: 25.62 kB / 1.26 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006019/1.106, allocations: 0.4951 MB / 1.26 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 3.75 kB / 1.26 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008837/1.107, allocations: 288.3 kB / 1.261 GB, free: 229.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005363/1.112, allocations: 2.809 MB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003694/1.116, allocations: 1.513 MB / 1.265 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.116, allocations: 1.156 kB / 1.265 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.118, allocations: 0.9293 MB / 1.266 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.12, allocations: 461.5 kB / 1.266 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/1.148, allocations: 10.9 MB / 1.277 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/1.148, allocations: 0.9785 MB / 1.278 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006491/1.149, allocations: 169 kB / 1.278 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/1.149, allocations: 279.1 kB / 1.278 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/1.149, allocations: 0 / 1.278 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/1.19, allocations: 29.34 MB / 1.307 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/1.19, allocations: 264.2 kB / 1.307 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.471, allocations: 0 / 1.307 GB, free: 197.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches