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.001601/0.001601, 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.001543/0.001543, allocations: 195.3 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.715/1.715, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.352/3.352, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 65.64 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5026, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2252/0.7279, allocations: 192.6 MB / 1.241 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007138/0.735, allocations: 4.006 MB / 1.245 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.7362, allocations: 23.88 kB / 1.245 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.7376, allocations: 477 kB / 1.245 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004222/0.7419, allocations: 1.528 MB / 1.247 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 1.097/1.838, allocations: 1.35 MB / 1.248 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003554/1.842, allocations: 1.631 MB / 1.25 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/1.844, allocations: 0.9516 MB / 1.251 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/1.846, allocations: 0.9167 MB / 1.252 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/1.848, allocations: 0.8583 MB / 1.252 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/1.848, allocations: 94.47 kB / 1.253 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/1.852, allocations: 1.304 MB / 1.254 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/1.852, allocations: 351.6 kB / 1.254 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009055/1.853, allocations: 0.5163 MB / 1.255 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004021/1.857, allocations: 1.616 MB / 1.256 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.857, allocations: 1.203 kB / 1.256 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.857, allocations: 0.7188 kB / 1.256 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.733e-05/1.857, allocations: 0 / 1.256 GB, free: 4.117 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.004091/1.861, allocations: 1.445 MB / 1.258 GB, free: 19.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.861, allocations: 10.47 kB / 1.258 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/1.861, allocations: 91.17 kB / 1.258 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/1.863, allocations: 242.9 kB / 1.258 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/1.864, allocations: 0.585 MB / 1.259 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/1.864, allocations: 35.91 kB / 1.259 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.864, allocations: 53.81 kB / 1.259 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.866, allocations: 0.9613 MB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.866, allocations: 7.734 kB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/1.866, allocations: 24.09 kB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/1.867, allocations: 33.47 kB / 1.26 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/1.868, allocations: 0.9357 MB / 1.261 GB, free: 18.84 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.007003/1.875, allocations: 4.272 MB / 1.265 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/1.877, allocations: 0.5961 MB / 1.265 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.878, allocations: 0.5162 MB / 1.266 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/1.879, allocations: 0.8804 MB / 1.267 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/1.879, allocations: 38.34 kB / 1.267 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002216/1.881, allocations: 416.4 kB / 1.267 GB, free: 15.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 6.402e-06/1.881, allocations: 1.594 kB / 1.267 GB, free: 15.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.02105/1.903, allocations: 3.836 MB / 1.271 GB, free: 15.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/1.903, allocations: 61.38 kB / 1.271 GB, free: 15.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/1.904, allocations: 0.706 MB / 1.272 GB, free: 15.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002993/1.905, allocations: 37.23 kB / 1.272 GB, free: 15.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/1.905, allocations: 321.8 kB / 1.272 GB, free: 14.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.905, allocations: 178.5 kB / 1.272 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/1.906, allocations: 149.6 kB / 1.272 GB, free: 14.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.906, allocations: 331 kB / 1.273 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/1.907, allocations: 394.8 kB / 1.273 GB, free: 14.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/1.908, allocations: 486.9 kB / 1.273 GB, free: 14.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.909, allocations: 0.9238 MB / 1.274 GB, free: 14.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.909, allocations: 1.062 kB / 1.274 GB, free: 14.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01174/1.921, allocations: 2.557 MB / 1.277 GB, free: 14.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/1.921, allocations: 7.922 kB / 1.277 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.921, allocations: 5.562 kB / 1.277 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/1.931, allocations: 1.734 MB / 1.279 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/1.932, allocations: 91.23 kB / 1.279 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/1.948, allocations: 7.156 MB / 1.286 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.95, allocations: 17.5 kB / 1.286 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/1.95, allocations: 48.55 kB / 1.286 GB, free: 11.25 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.0006952/1.951, allocations: 211.4 kB / 1.286 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/1.951, allocations: 81.7 kB / 1.286 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/1.957, allocations: 1.734 MB / 1.288 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/1.958, allocations: 5.75 kB / 1.288 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/1.958, allocations: 11.38 kB / 1.288 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/1.958, allocations: 3.922 kB / 1.288 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008317/1.966, allocations: 2.54 MB / 1.29 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.966, allocations: 2.781 kB / 1.29 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/1.967, allocations: 85.17 kB / 1.29 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003946/1.971, allocations: 0.8111 MB / 1.291 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.971, allocations: 16.56 kB / 1.291 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008868/1.98, allocations: 4.859 MB / 1.296 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.98, allocations: 0 / 1.296 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006568/1.986, allocations: 2.154 MB / 1.298 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.988, allocations: 230.5 kB / 1.298 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/1.988, allocations: 15.05 kB / 1.298 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/1.988, allocations: 22.84 kB / 1.298 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003668/1.989, allocations: 55.88 kB / 1.298 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/1.989, allocations: 24.8 kB / 1.298 GB, free: 7.273 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00103/1.99, allocations: 0.4949 MB / 1.299 GB, free: 7.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.873e-06/1.99, allocations: 0 / 1.299 GB, free: 7.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001991/1.992, allocations: 294.6 kB / 1.299 GB, free: 7.16 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.007254/1.999, allocations: 2.797 MB / 1.302 GB, free: 6.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004909/2.004, allocations: 1.521 MB / 1.303 GB, free: 6.008 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/2.004, allocations: 2.438 kB / 1.303 GB, free: 6.008 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/2.007, allocations: 0.9146 MB / 1.304 GB, free: 5.746 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/2.01, allocations: 468.4 kB / 1.305 GB, free: 5.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/2.047, allocations: 10.68 MB / 1.315 GB, free: 3.031 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009165/2.048, allocations: 0.9837 MB / 1.316 GB, free: 2.316 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001367/2.049, allocations: 157.7 kB / 1.316 GB, free: 2.277 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/2.05, allocations: 283.1 kB / 1.316 GB, free: 2.27 MB / 1.014 GB Notification: Performance of SimCode: time 1.733e-06/2.05, allocations: 5.094 kB / 1.316 GB, free: 2.266 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09547/2.145, allocations: 29.47 MB / 1.345 GB, free: 7.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/12.75, allocations: 3.953 kB / 1.345 GB, free: 7.129 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