Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.001349/0.00135, allocations: 108 kB / 15.61 MB, free: 152 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.00134/0.00134, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.595/2.595, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001717, allocations: 65.64 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2388, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5938/0.8326, allocations: 192.6 MB / 1.252 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004769/0.8374, allocations: 4.014 MB / 1.256 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005092/0.838, allocations: 23.72 kB / 1.256 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008936/0.8389, allocations: 477.2 kB / 1.257 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.8412, allocations: 1.525 MB / 1.258 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.8437, allocations: 1.35 MB / 1.259 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.845, allocations: 1.635 MB / 1.261 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.8459, allocations: 0.958 MB / 1.262 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008584/0.8468, allocations: 0.9186 MB / 1.263 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000781/0.8476, allocations: 0.8469 MB / 1.264 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.8477, allocations: 97.41 kB / 1.264 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.8494, allocations: 1.302 MB / 1.265 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.8497, allocations: 353.7 kB / 1.265 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.8501, allocations: 0.5145 MB / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.8516, allocations: 1.614 MB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8517, allocations: 4.25 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8517, allocations: 0 / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.8517, allocations: 0 / 1.267 GB, free: 4.445 MB / 0.9981 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.002564/0.8542, allocations: 1.452 MB / 1.269 GB, free: 19.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.8543, allocations: 10.97 kB / 1.269 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.8544, allocations: 92.69 kB / 1.269 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.8557, allocations: 240.6 kB / 1.269 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.8564, allocations: 0.5853 MB / 1.27 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.8565, allocations: 39.47 kB / 1.27 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.8566, allocations: 51.86 kB / 1.27 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.8578, allocations: 0.9645 MB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.8578, allocations: 9.297 kB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.8579, allocations: 21.77 kB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.8579, allocations: 34.92 kB / 1.271 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.8593, allocations: 0.9353 MB / 1.272 GB, free: 19.16 MB / 1.014 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.004699/0.8641, allocations: 4.254 MB / 1.276 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008509/0.8649, allocations: 0.6018 MB / 1.276 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.8656, allocations: 0.5149 MB / 1.277 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009841/0.8666, allocations: 0.8792 MB / 1.278 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.8666, allocations: 38.98 kB / 1.278 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001393/0.868, allocations: 417.3 kB / 1.278 GB, free: 15.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.8681, allocations: 0.9062 kB / 1.278 GB, free: 15.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01628/0.8843, allocations: 3.843 MB / 1.282 GB, free: 15.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.8844, allocations: 57.88 kB / 1.282 GB, free: 15.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.8851, allocations: 0.707 MB / 1.283 GB, free: 15.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.8851, allocations: 36.89 kB / 1.283 GB, free: 15.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.8853, allocations: 320.4 kB / 1.283 GB, free: 15.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.8854, allocations: 175.5 kB / 1.283 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.8856, allocations: 155 kB / 1.283 GB, free: 15.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8858, allocations: 325.5 kB / 1.284 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.8863, allocations: 396.3 kB / 1.284 GB, free: 14.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.8869, allocations: 493.8 kB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.8882, allocations: 0.9165 MB / 1.285 GB, free: 14.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8882, allocations: 0.875 kB / 1.285 GB, free: 14.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01008/0.8983, allocations: 2.567 MB / 1.288 GB, free: 14.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.8983, allocations: 6 kB / 1.288 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8983, allocations: 1.125 kB / 1.288 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008537/0.9068, allocations: 1.735 MB / 1.29 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.9072, allocations: 93.28 kB / 1.29 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.9181, allocations: 7.149 MB / 1.297 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.9188, allocations: 20.41 kB / 1.297 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.9188, allocations: 52.7 kB / 1.297 GB, free: 11.48 MB / 1.014 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.0002883/0.9191, allocations: 215.3 kB / 1.297 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.9193, allocations: 79.38 kB / 1.297 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.9238, allocations: 1.734 MB / 1.299 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.9239, allocations: 9.844 kB / 1.299 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9239, allocations: 7.062 kB / 1.299 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.9239, allocations: 2.906 kB / 1.299 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.929, allocations: 2.545 MB / 1.301 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.929, allocations: 2 kB / 1.301 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.9293, allocations: 96.05 kB / 1.301 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/0.9324, allocations: 0.8064 MB / 1.302 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.9324, allocations: 15.44 kB / 1.302 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/0.9382, allocations: 4.855 MB / 1.307 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9383, allocations: 1.375 kB / 1.307 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/0.9427, allocations: 2.156 MB / 1.309 GB, free: 7.637 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.943, allocations: 225.9 kB / 1.309 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.9431, allocations: 12.41 kB / 1.309 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/0.9436, allocations: 24.66 kB / 1.309 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9437, allocations: 54.27 kB / 1.309 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.9438, allocations: 23.81 kB / 1.309 GB, free: 7.492 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004823/0.9443, allocations: 0.5002 MB / 1.31 GB, free: 7.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9443, allocations: 4 kB / 1.31 GB, free: 7.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008301/0.9451, allocations: 291.3 kB / 1.31 GB, free: 7.375 MB / 1.014 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.004979/0.9501, allocations: 2.805 MB / 1.313 GB, free: 6.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00301/0.9531, allocations: 1.509 MB / 1.314 GB, free: 6.227 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9531, allocations: 1.969 kB / 1.314 GB, free: 6.227 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.9546, allocations: 0.9146 MB / 1.315 GB, free: 5.965 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.9564, allocations: 466 kB / 1.316 GB, free: 5.883 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02607/0.9824, allocations: 10.69 MB / 1.326 GB, free: 3.219 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.9829, allocations: 0.9781 MB / 1.327 GB, free: 2.504 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.9835, allocations: 158.3 kB / 1.327 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.9838, allocations: 284.5 kB / 1.328 GB, free: 2.457 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.9838, allocations: 0 / 1.328 GB, free: 2.457 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.276/3.26, allocations: 29.47 MB / 1.356 GB, free: 5.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/17.82, allocations: 3.984 kB / 1.356 GB, free: 5.344 MB / 1.029 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches