Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002996/0.002996, allocations: 71.88 kB / 1.104 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8454, allocations: 168.7 MB / 1.269 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.226/1.071, allocations: 193.3 MB / 1.458 GB, free: 3.184 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007129/1.079, allocations: 4.022 MB / 1.461 GB, free: 15.15 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008482/1.079, allocations: 23.88 kB / 1.461 GB, free: 15.13 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/1.081, allocations: 485 kB / 1.462 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003919/1.085, allocations: 1.591 MB / 1.463 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/1.088, allocations: 1.376 MB / 1.465 GB, free: 11.68 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002437/1.091, allocations: 1.635 MB / 1.466 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/1.092, allocations: 0.8689 MB / 1.467 GB, free: 9.152 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/1.094, allocations: 0.9385 MB / 1.468 GB, free: 8.211 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/1.095, allocations: 0.9267 MB / 1.469 GB, free: 7.281 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/1.095, allocations: 100 kB / 1.469 GB, free: 7.184 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/1.098, allocations: 1.395 MB / 1.471 GB, free: 5.785 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/1.098, allocations: 366.9 kB / 1.471 GB, free: 5.426 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/1.098, allocations: 0.5172 MB / 1.471 GB, free: 4.906 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/1.101, allocations: 1.666 MB / 1.473 GB, free: 3.234 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.101, allocations: 0 / 1.473 GB, free: 3.234 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.893e-06/1.101, allocations: 0 / 1.473 GB, free: 3.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.101, allocations: 0 / 1.473 GB, free: 3.234 MB / 1.17 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.002855/1.104, allocations: 1.264 MB / 1.474 GB, free: 1.914 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.104, allocations: 8.031 kB / 1.474 GB, free: 1.906 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/1.104, allocations: 90.52 kB / 1.474 GB, free: 1.809 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/1.106, allocations: 247.2 kB / 1.475 GB, free: 1.566 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/1.107, allocations: 0.6233 MB / 1.475 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/1.107, allocations: 37 kB / 1.475 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.107, allocations: 55.89 kB / 1.475 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.109, allocations: 1.008 MB / 1.476 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.109, allocations: 0 / 1.476 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/1.109, allocations: 24 kB / 1.476 GB, free: 15.71 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/1.109, allocations: 39.92 kB / 1.476 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.11, allocations: 1.003 MB / 1.477 GB, free: 14.67 MB / 1.186 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.005538/1.116, allocations: 4.129 MB / 1.481 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.117, allocations: 0.5587 MB / 1.482 GB, free: 9.801 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/1.118, allocations: 489.9 kB / 1.482 GB, free: 9.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/1.119, allocations: 0.8783 MB / 1.483 GB, free: 8.258 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.119, allocations: 35 kB / 1.483 GB, free: 8.211 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002429/1.121, allocations: 0.6322 MB / 1.484 GB, free: 7.578 MB / 1.186 GB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/1.121, allocations: 0 / 1.484 GB, free: 7.578 MB / 1.186 GB Notification: Performance of matching and sorting (n=50): time 0.01788/1.139, allocations: 3.838 MB / 1.488 GB, free: 3.688 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.139, allocations: 59.84 kB / 1.488 GB, free: 3.617 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/1.14, allocations: 0.7155 MB / 1.488 GB, free: 2.895 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/1.141, allocations: 37.7 kB / 1.488 GB, free: 2.852 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/1.141, allocations: 316.9 kB / 1.489 GB, free: 2.539 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.141, allocations: 186.4 kB / 1.489 GB, free: 2.355 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/1.141, allocations: 154.1 kB / 1.489 GB, free: 2.199 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.141, allocations: 322 kB / 1.489 GB, free: 1.879 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/1.142, allocations: 404.9 kB / 1.49 GB, free: 1.48 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/1.143, allocations: 489.5 kB / 1.49 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/1.144, allocations: 0.9141 MB / 1.491 GB, free: 40 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.144, allocations: 0 / 1.491 GB, free: 40 kB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01138/1.156, allocations: 2.561 MB / 1.494 GB, free: 13.46 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.156, allocations: 8 kB / 1.494 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.156, allocations: 0 / 1.494 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009537/1.165, allocations: 1.73 MB / 1.495 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/1.166, allocations: 95.86 kB / 1.495 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/1.179, allocations: 7.151 MB / 1.502 GB, free: 4.172 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/1.18, allocations: 20.05 kB / 1.502 GB, free: 4.152 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/1.18, allocations: 47.88 kB / 1.502 GB, free: 4.105 MB / 1.201 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.0004154/1.18, allocations: 209.8 kB / 1.503 GB, free: 3.895 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.181, allocations: 91.42 kB / 1.503 GB, free: 3.805 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/1.186, allocations: 1.726 MB / 1.504 GB, free: 2.062 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.186, allocations: 8 kB / 1.504 GB, free: 2.055 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.186, allocations: 4 kB / 1.504 GB, free: 2.051 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.186, allocations: 3.984 kB / 1.504 GB, free: 2.047 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005969/1.192, allocations: 2.532 MB / 1.507 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.192, allocations: 0 / 1.507 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/1.192, allocations: 91.88 kB / 1.507 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/1.195, allocations: 0.8018 MB / 1.508 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/1.195, allocations: 15.94 kB / 1.508 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007156/1.203, allocations: 4.86 MB / 1.513 GB, free: 9.375 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.203, allocations: 0 / 1.513 GB, free: 9.375 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/1.208, allocations: 2.14 MB / 1.515 GB, free: 7.195 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/1.209, allocations: 232.5 kB / 1.515 GB, free: 6.949 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.209, allocations: 12 kB / 1.515 GB, free: 6.938 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/1.209, allocations: 28.09 kB / 1.515 GB, free: 6.91 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/1.209, allocations: 48.44 kB / 1.515 GB, free: 6.863 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/1.209, allocations: 28 kB / 1.515 GB, free: 6.836 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006748/1.21, allocations: 0.5029 MB / 1.515 GB, free: 6.34 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.21, allocations: 0 / 1.515 GB, free: 6.34 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009725/1.211, allocations: 283.8 kB / 1.516 GB, free: 6.062 MB / 1.217 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.005947/1.217, allocations: 2.809 MB / 1.518 GB, free: 3.207 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003543/1.221, allocations: 1.418 MB / 1.52 GB, free: 1.762 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.221, allocations: 4.062 kB / 1.52 GB, free: 1.758 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.222, allocations: 0.8558 MB / 1.521 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.224, allocations: 452.1 kB / 1.521 GB, free: 444 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/1.255, allocations: 10.45 MB / 1.531 GB, free: 5.805 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/1.256, allocations: 0.9867 MB / 1.532 GB, free: 4.793 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007649/1.257, allocations: 154.6 kB / 1.532 GB, free: 4.637 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/1.257, allocations: 279.3 kB / 1.533 GB, free: 4.363 MB / 1.232 GB Notification: Performance of SimCode: time 1.062e-06/1.257, allocations: 4 kB / 1.533 GB, free: 4.359 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0705/1.328, allocations: 29.83 MB / 1.562 GB, free: 6.914 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.99, allocations: 3.938 kB / 1.562 GB, free: 6.91 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.94697847822681]