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.01774/0.01774, allocations: 107 kB / 15.74 MB, free: 6.035 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.00217/0.00217, allocations: 195.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.831/2.831, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.141/4.141, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 69.97 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4882, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.676/2.165, allocations: 192.6 MB / 1.276 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009899/2.175, allocations: 4.014 MB / 1.279 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/2.177, allocations: 20.28 kB / 1.279 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006649/2.183, allocations: 478.4 kB / 1.28 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008185/2.192, allocations: 1.534 MB / 1.281 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01227/2.204, allocations: 1.353 MB / 1.283 GB, free: 3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006718/2.211, allocations: 1.636 MB / 1.284 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007703/2.218, allocations: 0.9557 MB / 1.285 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/2.222, allocations: 0.926 MB / 1.286 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/2.225, allocations: 0.851 MB / 1.287 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000904/2.226, allocations: 98.94 kB / 1.287 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009903/2.236, allocations: 1.304 MB / 1.288 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001721/2.238, allocations: 352 kB / 1.289 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00279/2.241, allocations: 0.5094 MB / 1.289 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008523/2.25, allocations: 1.633 MB / 1.291 GB, free: 2.781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/2.25, allocations: 0 / 1.291 GB, free: 2.781 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.166e-06/2.25, allocations: 1 kB / 1.291 GB, free: 2.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.163e-05/2.25, allocations: 0 / 1.291 GB, free: 2.781 MB / 1.014 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.006719/2.256, allocations: 1.45 MB / 1.292 GB, free: 2.082 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/2.257, allocations: 13.66 kB / 1.292 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004551/2.257, allocations: 91.95 kB / 1.292 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/2.26, allocations: 235.7 kB / 1.293 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/2.263, allocations: 0.6105 MB / 1.293 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.884e-05/2.263, allocations: 36.31 kB / 1.293 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004883/2.264, allocations: 55.22 kB / 1.293 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/2.268, allocations: 0.9664 MB / 1.294 GB, free: 1.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.103e-05/2.268, allocations: 2.734 kB / 1.294 GB, free: 1.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/2.268, allocations: 21.16 kB / 1.294 GB, free: 1.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/2.268, allocations: 32.67 kB / 1.294 GB, free: 1.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/2.271, allocations: 0.933 MB / 1.295 GB, free: 1.48 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.01113/2.282, allocations: 4.266 MB / 1.299 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/2.284, allocations: 0.6018 MB / 1.3 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/2.285, allocations: 0.5134 MB / 1.3 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/2.287, allocations: 0.8793 MB / 1.301 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/2.287, allocations: 45.75 kB / 1.301 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002452/2.289, allocations: 413.9 kB / 1.302 GB, free: 14.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 1.62e-05/2.289, allocations: 1.938 kB / 1.302 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.02867/2.318, allocations: 3.837 MB / 1.305 GB, free: 13.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/2.318, allocations: 57.31 kB / 1.306 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/2.32, allocations: 0.7062 MB / 1.306 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003378/2.32, allocations: 38.17 kB / 1.306 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/2.321, allocations: 333.4 kB / 1.307 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/2.321, allocations: 174.7 kB / 1.307 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006242/2.322, allocations: 149.5 kB / 1.307 GB, free: 13.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001969/2.322, allocations: 329.1 kB / 1.307 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/2.323, allocations: 396.9 kB / 1.308 GB, free: 13.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/2.324, allocations: 486.5 kB / 1.308 GB, free: 12.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/2.327, allocations: 0.9256 MB / 1.309 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/2.327, allocations: 1.125 kB / 1.309 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01832/2.346, allocations: 2.557 MB / 1.311 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/2.346, allocations: 6.188 kB / 1.311 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/2.346, allocations: 4.312 kB / 1.311 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01372/2.36, allocations: 1.735 MB / 1.313 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/2.36, allocations: 93.33 kB / 1.313 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/2.379, allocations: 7.134 MB / 1.32 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/2.381, allocations: 18.16 kB / 1.32 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/2.382, allocations: 49.16 kB / 1.32 GB, free: 9.738 MB / 1.029 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.0008611/2.382, allocations: 214.6 kB / 1.32 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/2.383, allocations: 82.94 kB / 1.321 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007271/2.39, allocations: 1.735 MB / 1.322 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/2.39, allocations: 5.75 kB / 1.322 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/2.39, allocations: 5.562 kB / 1.322 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/2.39, allocations: 3.75 kB / 1.322 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009107/2.399, allocations: 2.542 MB / 1.325 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/2.4, allocations: 11.45 kB / 1.325 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/2.4, allocations: 87.06 kB / 1.325 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004423/2.405, allocations: 0.795 MB / 1.326 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/2.405, allocations: 19.61 kB / 1.326 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/2.415, allocations: 4.843 MB / 1.33 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/2.415, allocations: 2.094 kB / 1.33 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007385/2.422, allocations: 2.157 MB / 1.332 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009843/2.424, allocations: 239.6 kB / 1.333 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/2.424, allocations: 10.41 kB / 1.333 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/2.425, allocations: 19.56 kB / 1.333 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/2.425, allocations: 58.61 kB / 1.333 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-05/2.426, allocations: 27.25 kB / 1.333 GB, free: 5.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00102/2.427, allocations: 0.4985 MB / 1.333 GB, free: 5.656 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/2.427, allocations: 0 / 1.333 GB, free: 5.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001937/2.429, allocations: 293.1 kB / 1.334 GB, free: 5.633 MB / 1.029 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.00816/2.437, allocations: 2.797 MB / 1.336 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005247/2.442, allocations: 1.462 MB / 1.338 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/2.442, allocations: 0 / 1.338 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/2.445, allocations: 0.9116 MB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/2.448, allocations: 464.4 kB / 1.339 GB, free: 3.629 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04367/2.492, allocations: 10.44 MB / 1.349 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009709/2.493, allocations: 0.9794 MB / 1.35 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001169/2.494, allocations: 160.5 kB / 1.35 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/2.495, allocations: 282.3 kB / 1.351 GB, free: 14.14 MB / 1.045 GB Notification: Performance of SimCode: time 1.613e-06/2.495, allocations: 3.312 kB / 1.351 GB, free: 14.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09742/2.593, allocations: 30.4 MB / 1.38 GB, free: 10.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/15.39, allocations: 7.797 kB / 1.38 GB, free: 10.48 MB / 1.061 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