Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_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.007499/0.007499, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.00118/0.00118, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.181/1.181, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.959/1.959, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 55.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.666/0.6672, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2096/0.8768, allocations: 192.6 MB / 1.276 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006214/0.883, allocations: 4.015 MB / 1.279 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009836/0.884, allocations: 19.88 kB / 1.28 GB, free: 9.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.8854, allocations: 477 kB / 1.28 GB, free: 8.551 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005443/0.8909, allocations: 1.528 MB / 1.281 GB, free: 7.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.8958, allocations: 1.366 MB / 1.283 GB, free: 5.652 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003477/0.8993, allocations: 1.628 MB / 1.284 GB, free: 4.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.9013, allocations: 0.9509 MB / 1.285 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.9036, allocations: 0.915 MB / 1.286 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.9055, allocations: 0.8565 MB / 1.287 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.9058, allocations: 96 kB / 1.287 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.9096, allocations: 1.302 MB / 1.288 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.9102, allocations: 362.9 kB / 1.289 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008984/0.9111, allocations: 0.5094 MB / 1.289 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.9148, allocations: 1.632 MB / 1.291 GB, free: 13.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9148, allocations: 0 / 1.291 GB, free: 13.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9148, allocations: 0 / 1.291 GB, free: 13.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.9148, allocations: 0 / 1.291 GB, free: 13.37 MB / 1.029 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.004588/0.9194, allocations: 1.456 MB / 1.292 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.9195, allocations: 8.031 kB / 1.292 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.9197, allocations: 94.45 kB / 1.292 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.9223, allocations: 234.8 kB / 1.293 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.9238, allocations: 0.611 MB / 1.293 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.9239, allocations: 37 kB / 1.293 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.9241, allocations: 55.98 kB / 1.293 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.9264, allocations: 0.9536 MB / 1.294 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.9265, allocations: 7.938 kB / 1.294 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.9266, allocations: 20 kB / 1.294 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.908e-05/0.9267, allocations: 39.91 kB / 1.294 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.929, allocations: 0.9406 MB / 1.295 GB, free: 8.75 MB / 1.029 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.008254/0.9373, allocations: 4.255 MB / 1.299 GB, free: 4.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.9387, allocations: 0.5978 MB / 1.3 GB, free: 3.715 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.9399, allocations: 0.5097 MB / 1.3 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.9412, allocations: 0.8861 MB / 1.301 GB, free: 2.133 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.9413, allocations: 39 kB / 1.301 GB, free: 2.082 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002141/0.9434, allocations: 415.1 kB / 1.302 GB, free: 1.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 4.589e-06/0.9434, allocations: 0 / 1.302 GB, free: 1.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.02/0.9635, allocations: 3.841 MB / 1.305 GB, free: 13.78 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.9635, allocations: 63.78 kB / 1.306 GB, free: 13.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/0.9645, allocations: 0.7078 MB / 1.306 GB, free: 12.99 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.9647, allocations: 33.7 kB / 1.306 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.9649, allocations: 320.6 kB / 1.307 GB, free: 12.63 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.9651, allocations: 177.4 kB / 1.307 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.9654, allocations: 158 kB / 1.307 GB, free: 12.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.9655, allocations: 322 kB / 1.307 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.9661, allocations: 396.9 kB / 1.308 GB, free: 11.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007006/0.9668, allocations: 485.5 kB / 1.308 GB, free: 11.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.9683, allocations: 0.9219 MB / 1.309 GB, free: 10.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9683, allocations: 4 kB / 1.309 GB, free: 10.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01147/0.9798, allocations: 2.56 MB / 1.311 GB, free: 7.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.9798, allocations: 4 kB / 1.311 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.9798, allocations: 4 kB / 1.311 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009596/0.9894, allocations: 1.738 MB / 1.313 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.9899, allocations: 87.86 kB / 1.313 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.002, allocations: 7.137 MB / 1.32 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/1.003, allocations: 20.06 kB / 1.32 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.004, allocations: 55.86 kB / 1.32 GB, free: 14.2 MB / 1.061 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.0003934/1.004, allocations: 203.4 kB / 1.32 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/1.004, allocations: 79.06 kB / 1.321 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/1.009, allocations: 1.742 MB / 1.322 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.009, allocations: 12.19 kB / 1.322 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.009, allocations: 4 kB / 1.322 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.009, allocations: 8 kB / 1.322 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005848/1.015, allocations: 2.536 MB / 1.325 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.015, allocations: 192 / 1.325 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/1.016, allocations: 91.89 kB / 1.325 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/1.019, allocations: 0.8055 MB / 1.326 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/1.019, allocations: 12 kB / 1.326 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006758/1.026, allocations: 4.844 MB / 1.33 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.026, allocations: 0 / 1.33 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/1.031, allocations: 2.155 MB / 1.332 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/1.032, allocations: 239.9 kB / 1.333 GB, free: 1.031 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.032, allocations: 12 kB / 1.333 GB, free: 1.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/1.032, allocations: 19.98 kB / 1.333 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.033, allocations: 64.36 kB / 1.333 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/1.033, allocations: 20 kB / 1.333 GB, free: 0.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006034/1.033, allocations: 0.4912 MB / 1.333 GB, free: 440 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.033, allocations: 0 / 1.333 GB, free: 440 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009299/1.034, allocations: 287.8 kB / 1.334 GB, free: 152 kB / 1.061 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.005832/1.04, allocations: 2.818 MB / 1.336 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003498/1.044, allocations: 1.468 MB / 1.338 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.044, allocations: 0 / 1.338 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/1.045, allocations: 0.9224 MB / 1.339 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/1.048, allocations: 454.9 kB / 1.339 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/1.078, allocations: 10.43 MB / 1.349 GB, free: 15.79 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/1.079, allocations: 0.9789 MB / 1.35 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006805/1.08, allocations: 162.6 kB / 1.35 GB, free: 14.62 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/1.08, allocations: 279.3 kB / 1.351 GB, free: 14.35 MB / 1.092 GB Notification: Performance of SimCode: time 8.61e-07/1.08, allocations: 0 / 1.351 GB, free: 14.35 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06521/1.145, allocations: 29.67 MB / 1.38 GB, free: 1.055 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.91, allocations: 18.19 kB / 1.38 GB, free: 1.039 MB / 1.107 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches