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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008586/0.0008586, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005005/0.005006, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.361/2.361, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 8.719 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2525, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1783/0.4308, allocations: 187.9 MB / 1.242 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005433/0.4363, allocations: 4.024 MB / 1.246 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004486/0.4368, allocations: 19.88 kB / 1.246 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009677/0.4377, allocations: 401.9 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.4404, allocations: 1.435 MB / 1.248 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.4429, allocations: 1.24 MB / 1.249 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5047/0.9477, allocations: 2.34 MB / 1.251 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.9492, allocations: 0.8754 MB / 1.252 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.9511, allocations: 0.8496 MB / 1.253 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.9522, allocations: 0.8663 MB / 1.254 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.9524, allocations: 71.47 kB / 1.254 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.9546, allocations: 1.572 MB / 1.256 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.9549, allocations: 331.5 kB / 1.256 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000681/0.9556, allocations: 0.5082 MB / 1.256 GB, free: 20.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.9578, allocations: 1.689 MB / 1.258 GB, free: 19.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.9578, allocations: 0 / 1.258 GB, free: 19.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9578, allocations: 0 / 1.258 GB, free: 19.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.9579, allocations: 0 / 1.258 GB, free: 19.97 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.002356/0.9602, allocations: 1.184 MB / 1.259 GB, free: 19.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9603, allocations: 12.47 kB / 1.259 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.9604, allocations: 89.86 kB / 1.259 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.9618, allocations: 237.2 kB / 1.26 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.9625, allocations: 0.5912 MB / 1.26 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.9626, allocations: 44.42 kB / 1.26 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.9627, allocations: 45.88 kB / 1.26 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.964, allocations: 0.9676 MB / 1.261 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.964, allocations: 5.812 kB / 1.261 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.9641, allocations: 24.22 kB / 1.261 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.9642, allocations: 28.03 kB / 1.261 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.9655, allocations: 0.9503 MB / 1.262 GB, free: 18.69 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.004441/0.9699, allocations: 4.193 MB / 1.266 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.9707, allocations: 0.5989 MB / 1.267 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.9716, allocations: 0.5228 MB / 1.267 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009963/0.9726, allocations: 0.892 MB / 1.268 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.9726, allocations: 40.77 kB / 1.268 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001373/0.974, allocations: 360 kB / 1.269 GB, free: 15.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.974, allocations: 0.875 kB / 1.269 GB, free: 15.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01718/0.9912, allocations: 3.69 MB / 1.272 GB, free: 14.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.9913, allocations: 59.53 kB / 1.272 GB, free: 14.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.9923, allocations: 0.7114 MB / 1.273 GB, free: 14.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.9924, allocations: 33.88 kB / 1.273 GB, free: 14.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.9927, allocations: 325.9 kB / 1.273 GB, free: 14.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.9929, allocations: 178.5 kB / 1.273 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.993, allocations: 48.72 kB / 1.273 GB, free: 14.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9931, allocations: 329.1 kB / 1.274 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/0.9939, allocations: 399.7 kB / 1.274 GB, free: 14.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/0.9947, allocations: 491.7 kB / 1.275 GB, free: 14.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.9961, allocations: 0.9335 MB / 1.276 GB, free: 14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.9961, allocations: 1.031 kB / 1.276 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01067/1.007, allocations: 2.482 MB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.007, allocations: 6.156 kB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.007, allocations: 3.953 kB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008661/1.016, allocations: 1.551 MB / 1.28 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.016, allocations: 97.64 kB / 1.28 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/1.027, allocations: 6.562 MB / 1.286 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/1.028, allocations: 32.52 kB / 1.286 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.028, allocations: 51.06 kB / 1.286 GB, free: 11.12 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.0004297/1.029, allocations: 210.2 kB / 1.286 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/1.029, allocations: 82.41 kB / 1.286 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/1.034, allocations: 1.673 MB / 1.288 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.034, allocations: 5.812 kB / 1.288 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.034, allocations: 8.344 kB / 1.288 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/1.034, allocations: 4.109 kB / 1.288 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005442/1.039, allocations: 2.474 MB / 1.29 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/1.039, allocations: 1.281 kB / 1.29 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/1.04, allocations: 92.33 kB / 1.291 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003048/1.043, allocations: 0.6565 MB / 1.291 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/1.043, allocations: 18.06 kB / 1.291 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/1.048, allocations: 4.417 MB / 1.296 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.049, allocations: 4.938 kB / 1.296 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/1.053, allocations: 2.105 MB / 1.298 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/1.054, allocations: 236.5 kB / 1.298 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/1.054, allocations: 10.97 kB / 1.298 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/1.054, allocations: 29.97 kB / 1.298 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.055, allocations: 61.64 kB / 1.298 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/1.055, allocations: 17.19 kB / 1.298 GB, free: 7.395 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005933/1.055, allocations: 0.4986 MB / 1.298 GB, free: 7.301 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 0 / 1.298 GB, free: 7.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001009/1.056, allocations: 286.4 kB / 1.299 GB, free: 7.289 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.005382/1.062, allocations: 2.755 MB / 1.301 GB, free: 6.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003062/1.065, allocations: 1.427 MB / 1.303 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.065, allocations: 0 / 1.303 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.066, allocations: 0.8816 MB / 1.304 GB, free: 5.898 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.068, allocations: 448.3 kB / 1.304 GB, free: 5.867 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/1.096, allocations: 10.83 MB / 1.315 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/1.097, allocations: 0.9799 MB / 1.316 GB, free: 2.297 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007049/1.097, allocations: 163.5 kB / 1.316 GB, free: 2.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/1.098, allocations: 283.7 kB / 1.316 GB, free: 2.246 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.098, allocations: 0 / 1.316 GB, free: 2.246 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09421/1.192, allocations: 27.94 MB / 1.343 GB, free: 6.945 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/1.192, allocations: 264.6 kB / 1.344 GB, free: 6.586 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.518, allocations: 4 kB / 1.344 GB, free: 6.582 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