Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 215.4 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 66.64 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3755, allocations: 170 MB / 1.284 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2935/0.6689, allocations: 222.5 MB / 1.501 GB, free: 12.2 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03837/0.7073, allocations: 26.93 MB / 1.528 GB, free: 1.18 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.7098, allocations: 47.62 kB / 1.528 GB, free: 1.133 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003527/0.7133, allocations: 1.189 MB / 1.529 GB, free: 15.94 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.7236, allocations: 3.305 MB / 1.532 GB, free: 12.62 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.7295, allocations: 1.731 MB / 1.534 GB, free: 10.89 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007719/0.7373, allocations: 3.904 MB / 1.538 GB, free: 6.98 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/0.7404, allocations: 1.133 MB / 1.539 GB, free: 5.816 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007001/0.7474, allocations: 2.378 MB / 1.541 GB, free: 3.43 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/0.751, allocations: 1.592 MB / 1.543 GB, free: 1.832 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0007035/0.7517, allocations: 124 kB / 1.543 GB, free: 1.711 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005774/0.7575, allocations: 1.925 MB / 1.545 GB, free: 15.78 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.7593, allocations: 0.8721 MB / 1.546 GB, free: 14.91 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003427/0.7627, allocations: 1.177 MB / 1.547 GB, free: 13.72 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.008233/0.7709, allocations: 3.042 MB / 1.55 GB, free: 10.67 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7709, allocations: 0 / 1.55 GB, free: 10.67 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7709, allocations: 0 / 1.55 GB, free: 10.67 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001653/0.7711, allocations: 0 / 1.55 GB, free: 10.67 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.008156/0.7793, allocations: 2.885 MB / 1.552 GB, free: 7.734 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.7793, allocations: 8.031 kB / 1.552 GB, free: 7.727 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.648e-05/0.7794, allocations: 42.47 kB / 1.553 GB, free: 7.684 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/0.7797, allocations: 198.6 kB / 1.553 GB, free: 7.48 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.7819, allocations: 461.8 kB / 1.553 GB, free: 7.027 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/0.7866, allocations: 2.699 MB / 1.556 GB, free: 4.273 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/0.7867, allocations: 94.53 kB / 1.556 GB, free: 4.18 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.7869, allocations: 128 kB / 1.556 GB, free: 4.055 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.7896, allocations: 1.599 MB / 1.558 GB, free: 2.312 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.7897, allocations: 7.938 kB / 1.558 GB, free: 2.305 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.7898, allocations: 55.94 kB / 1.558 GB, free: 2.25 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.7899, allocations: 105.8 kB / 1.558 GB, free: 2.145 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.7917, allocations: 1.054 MB / 1.559 GB, free: 1.09 MB / 1.248 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.01063/0.8023, allocations: 8.386 MB / 1.567 GB, free: 8.195 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8035, allocations: 0.7074 MB / 1.568 GB, free: 7.441 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.804, allocations: 292.1 kB / 1.568 GB, free: 7.141 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003698/0.8043, allocations: 88.03 kB / 1.568 GB, free: 7.055 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.8044, allocations: 50.45 kB / 1.568 GB, free: 6.996 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 3.206e-06/0.8044, allocations: 0 / 1.568 GB, free: 6.996 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.002079/0.8065, allocations: 0.984 MB / 1.569 GB, free: 6.004 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.8066, allocations: 158.2 kB / 1.569 GB, free: 5.812 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006063/0.8126, allocations: 4.706 MB / 1.574 GB, free: 1.098 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.702e-05/0.8127, allocations: 37.7 kB / 1.574 GB, free: 1.055 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.8138, allocations: 1.072 MB / 1.575 GB, free: 15.97 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.814, allocations: 194.3 kB / 1.575 GB, free: 15.79 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.8142, allocations: 98.14 kB / 1.575 GB, free: 15.68 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.8144, allocations: 326.1 kB / 1.575 GB, free: 15.36 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.8148, allocations: 224.8 kB / 1.576 GB, free: 15.14 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.8153, allocations: 322.3 kB / 1.576 GB, free: 14.79 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008868/0.8162, allocations: 0.5532 MB / 1.576 GB, free: 14.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.8162, allocations: 4 kB / 1.576 GB, free: 14.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00167/0.8179, allocations: 0.8159 MB / 1.577 GB, free: 13.38 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.8179, allocations: 4 kB / 1.577 GB, free: 13.37 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8179, allocations: 4 kB / 1.577 GB, free: 13.37 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.8179, allocations: 4 kB / 1.577 GB, free: 13.36 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.8184, allocations: 107.8 kB / 1.577 GB, free: 13.26 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.8184, allocations: 7.984 kB / 1.577 GB, free: 13.25 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009803/0.8194, allocations: 95.44 kB / 1.577 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.8194, allocations: 27.98 kB / 1.578 GB, free: 13.13 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009505/0.8204, allocations: 0.5417 MB / 1.578 GB, free: 12.58 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/0.8208, allocations: 246.3 kB / 1.578 GB, free: 12.34 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.8224, allocations: 0.8003 MB / 1.579 GB, free: 11.53 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.8224, allocations: 4 kB / 1.579 GB, free: 11.52 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.8224, allocations: 4 kB / 1.579 GB, free: 11.52 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.8224, allocations: 3.984 kB / 1.579 GB, free: 11.52 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.826, allocations: 2.064 MB / 1.581 GB, free: 9.375 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.826, allocations: 192 / 1.581 GB, free: 9.375 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.8264, allocations: 103.8 kB / 1.581 GB, free: 9.273 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.8264, allocations: 7.938 kB / 1.581 GB, free: 9.266 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.8265, allocations: 19.98 kB / 1.581 GB, free: 9.246 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.8265, allocations: 4 kB / 1.581 GB, free: 9.242 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.8265, allocations: 7.938 kB / 1.581 GB, free: 9.234 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.8286, allocations: 1.279 MB / 1.582 GB, free: 7.918 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/0.8295, allocations: 358.1 kB / 1.583 GB, free: 7.566 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.8297, allocations: 8 kB / 1.583 GB, free: 7.559 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.8304, allocations: 35.92 kB / 1.583 GB, free: 7.523 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.8305, allocations: 40.31 kB / 1.583 GB, free: 7.484 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.8305, allocations: 16 kB / 1.583 GB, free: 7.469 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004549/0.835, allocations: 3.518 MB / 1.586 GB, free: 3.945 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.835, allocations: 0 / 1.586 GB, free: 3.945 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001627/0.8367, allocations: 475.1 kB / 1.587 GB, free: 3.48 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004583/0.8412, allocations: 2.247 MB / 1.589 GB, free: 1.324 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.8425, allocations: 0.5258 MB / 1.59 GB, free: 0.8008 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8425, allocations: 0 / 1.59 GB, free: 0.8008 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.8429, allocations: 283.1 kB / 1.59 GB, free: 0.5234 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/0.8473, allocations: 0.8515 MB / 1.591 GB, free: 15.67 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.914/1.761, allocations: 19.43 MB / 1.61 GB, free: 316.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/1.763, allocations: 1.64 MB / 1.611 GB, free: 316.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002017/1.765, allocations: 470 kB / 1.612 GB, free: 316.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.767, allocations: 0.9412 MB / 1.613 GB, free: 315.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.292e-06/1.767, allocations: 3.875 kB / 1.613 GB, free: 315.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.872, allocations: 47.27 MB / 1.659 GB, free: 284 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.86/19.74, allocations: 9 kB / 1.659 GB, free: 284 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Validation.OneWayFlow.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: 27.01238116499735]