Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_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.001566/0.001566, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001951/0.001951, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.729/1.729, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.411/3.411, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 70.52 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4233, allocations: 157.4 MB / 1.052 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2234/0.6467, allocations: 190.1 MB / 1.238 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0072/0.654, allocations: 3.998 MB / 1.242 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.6553, allocations: 19.88 kB / 1.242 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.6569, allocations: 421.8 kB / 1.242 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.6615, allocations: 1.439 MB / 1.244 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.6655, allocations: 1.253 MB / 1.245 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002746/0.6682, allocations: 1.639 MB / 1.247 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.6697, allocations: 0.9547 MB / 1.248 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9398/1.61, allocations: 0.9283 MB / 1.248 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/1.613, allocations: 0.8889 MB / 1.249 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006539/1.614, allocations: 96.94 kB / 1.249 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005977/1.62, allocations: 1.355 MB / 1.251 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/1.621, allocations: 356.9 kB / 1.251 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/1.622, allocations: 0.5101 MB / 1.252 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005612/1.628, allocations: 1.726 MB / 1.253 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.394e-05/1.628, allocations: 0.7188 kB / 1.253 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.975e-06/1.628, allocations: 0 / 1.253 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.563e-05/1.628, allocations: 0.5938 kB / 1.253 GB, free: 4.672 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.00605/1.634, allocations: 1.443 MB / 1.255 GB, free: 20.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.411e-05/1.634, allocations: 11 kB / 1.255 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/1.634, allocations: 96.27 kB / 1.255 GB, free: 19.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/1.636, allocations: 238.3 kB / 1.255 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/1.638, allocations: 0.5848 MB / 1.256 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/1.638, allocations: 37.66 kB / 1.256 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/1.638, allocations: 54.02 kB / 1.256 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/1.64, allocations: 0.9658 MB / 1.257 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/1.64, allocations: 3.031 kB / 1.257 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/1.64, allocations: 22.97 kB / 1.257 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/1.641, allocations: 33.94 kB / 1.257 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.642, allocations: 0.9367 MB / 1.258 GB, free: 19.44 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.008067/1.65, allocations: 4.263 MB / 1.262 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/1.652, allocations: 0.5964 MB / 1.262 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008781/1.653, allocations: 0.5178 MB / 1.263 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/1.654, allocations: 0.875 MB / 1.264 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.654, allocations: 38.95 kB / 1.264 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002434/1.656, allocations: 446.9 kB / 1.264 GB, free: 16.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 5.921e-06/1.656, allocations: 0.5312 kB / 1.264 GB, free: 16.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.02261/1.679, allocations: 3.841 MB / 1.268 GB, free: 15.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.679, allocations: 57.47 kB / 1.268 GB, free: 15.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/1.682, allocations: 0.7136 MB / 1.269 GB, free: 15.65 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004359/1.682, allocations: 35.86 kB / 1.269 GB, free: 15.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/1.682, allocations: 314.7 kB / 1.269 GB, free: 15.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/1.683, allocations: 182.4 kB / 1.269 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/1.684, allocations: 150.5 kB / 1.269 GB, free: 15.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.684, allocations: 330 kB / 1.27 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/1.685, allocations: 396.5 kB / 1.27 GB, free: 15.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/1.686, allocations: 490 kB / 1.27 GB, free: 14.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/1.689, allocations: 0.9166 MB / 1.271 GB, free: 14.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/1.689, allocations: 0.5938 kB / 1.271 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01471/1.704, allocations: 2.567 MB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/1.704, allocations: 6.188 kB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/1.704, allocations: 3.375 kB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/1.716, allocations: 1.733 MB / 1.276 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/1.717, allocations: 92.56 kB / 1.276 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.734, allocations: 7.146 MB / 1.283 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.736, allocations: 32.59 kB / 1.283 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/1.737, allocations: 46.41 kB / 1.283 GB, free: 11.89 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.00117/1.738, allocations: 211.1 kB / 1.283 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/1.739, allocations: 82.94 kB / 1.283 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007197/1.746, allocations: 1.734 MB / 1.285 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/1.746, allocations: 6.531 kB / 1.285 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.084e-05/1.746, allocations: 7.219 kB / 1.285 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.937e-05/1.746, allocations: 4.359 kB / 1.285 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009679/1.756, allocations: 2.547 MB / 1.287 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.756, allocations: 1.062 kB / 1.287 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/1.756, allocations: 93.19 kB / 1.287 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003719/1.76, allocations: 0.8023 MB / 1.288 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.76, allocations: 17.62 kB / 1.288 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007232/1.767, allocations: 4.865 MB / 1.293 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.767, allocations: 3.156 kB / 1.293 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005934/1.773, allocations: 2.156 MB / 1.295 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/1.774, allocations: 233.6 kB / 1.295 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/1.774, allocations: 14.7 kB / 1.295 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/1.775, allocations: 33.77 kB / 1.295 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/1.776, allocations: 53.28 kB / 1.295 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/1.776, allocations: 25.78 kB / 1.295 GB, free: 7.891 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008026/1.776, allocations: 0.4969 MB / 1.296 GB, free: 7.797 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.776, allocations: 0 / 1.296 GB, free: 7.797 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001512/1.778, allocations: 282.8 kB / 1.296 GB, free: 7.785 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.006209/1.784, allocations: 2.801 MB / 1.299 GB, free: 6.938 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004201/1.788, allocations: 1.522 MB / 1.3 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.788, allocations: 0 / 1.3 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/1.791, allocations: 0.9154 MB / 1.301 GB, free: 6.367 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/1.794, allocations: 462.5 kB / 1.302 GB, free: 6.297 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/1.831, allocations: 10.9 MB / 1.312 GB, free: 3.441 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/1.832, allocations: 0.984 MB / 1.313 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001056/1.833, allocations: 156.6 kB / 1.313 GB, free: 2.695 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/1.833, allocations: 288.6 kB / 1.314 GB, free: 2.684 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.833, allocations: 0 / 1.314 GB, free: 2.684 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06381/1.897, allocations: 29.37 MB / 1.342 GB, free: 8.359 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/1.897, allocations: 257.4 kB / 1.343 GB, free: 8.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/4.66, allocations: 0 / 1.343 GB, free: 8.008 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches