Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.00171/0.00171, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 469.4 MB / 0.7428 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 68.11 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.93, allocations: 159.1 MB / 1.221 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1993/1.129, allocations: 174.7 MB / 1.391 GB, free: 3.066 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007479/1.137, allocations: 3.3 MB / 1.395 GB, free: 15.76 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/1.139, allocations: 23.81 kB / 1.395 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/1.14, allocations: 361.7 kB / 1.395 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/1.144, allocations: 1.104 MB / 1.396 GB, free: 14.27 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/1.146, allocations: 0.9918 MB / 1.397 GB, free: 13.29 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0023/1.149, allocations: 1.609 MB / 1.399 GB, free: 11.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/1.15, allocations: 0.6161 MB / 1.399 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/1.151, allocations: 0.7668 MB / 1.4 GB, free: 10.27 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/1.152, allocations: 0.5641 MB / 1.401 GB, free: 9.707 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/1.153, allocations: 68 kB / 1.401 GB, free: 9.641 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/1.155, allocations: 0.9549 MB / 1.402 GB, free: 8.684 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003985/1.155, allocations: 283.1 kB / 1.402 GB, free: 8.406 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006662/1.156, allocations: 425.7 kB / 1.402 GB, free: 7.988 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002076/1.158, allocations: 1.213 MB / 1.403 GB, free: 6.773 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.158, allocations: 0 / 1.403 GB, free: 6.773 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.923e-06/1.158, allocations: 0 / 1.403 GB, free: 6.773 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.62e-05/1.158, allocations: 0 / 1.403 GB, free: 6.773 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003455/1.161, allocations: 1.273 MB / 1.405 GB, free: 5.449 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.161, allocations: 16.02 kB / 1.405 GB, free: 5.434 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/1.162, allocations: 126.9 kB / 1.405 GB, free: 5.309 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/1.164, allocations: 0.7483 MB / 1.406 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/1.164, allocations: 33 kB / 1.406 GB, free: 4.484 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/1.164, allocations: 44 kB / 1.406 GB, free: 4.441 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/1.165, allocations: 454.2 kB / 1.406 GB, free: 3.988 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.165, allocations: 0 / 1.406 GB, free: 3.988 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/1.165, allocations: 23.94 kB / 1.406 GB, free: 3.965 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/1.165, allocations: 16.66 kB / 1.406 GB, free: 3.945 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008155/1.166, allocations: 358.3 kB / 1.406 GB, free: 3.598 MB / 1.123 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.002761/1.168, allocations: 1.901 MB / 1.408 GB, free: 1.551 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/1.169, allocations: 296.6 kB / 1.409 GB, free: 1.254 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/1.17, allocations: 164.2 kB / 1.409 GB, free: 1.094 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/1.17, allocations: 198.1 kB / 1.409 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.17, allocations: 38.5 kB / 1.409 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/1.17, allocations: 0 / 1.409 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of matching and sorting (n=26): time 0.001985/1.172, allocations: 0.6549 MB / 1.41 GB, free: 136 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.172, allocations: 59.34 kB / 1.41 GB, free: 64 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.173, allocations: 0.8797 MB / 1.41 GB, free: 15.17 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/1.173, allocations: 33.7 kB / 1.411 GB, free: 15.13 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/1.174, allocations: 328.7 kB / 1.411 GB, free: 14.81 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.174, allocations: 94.56 kB / 1.411 GB, free: 14.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/1.174, allocations: 85.61 kB / 1.411 GB, free: 14.63 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.174, allocations: 313.9 kB / 1.411 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/1.174, allocations: 136.8 kB / 1.411 GB, free: 14.18 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/1.175, allocations: 289.9 kB / 1.412 GB, free: 13.83 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/1.176, allocations: 298.3 kB / 1.412 GB, free: 13.53 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.176, allocations: 0 / 1.412 GB, free: 13.53 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001164/1.177, allocations: 459.4 kB / 1.412 GB, free: 13.07 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.177, allocations: 7.938 kB / 1.412 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.177, allocations: 4 kB / 1.412 GB, free: 13.06 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/1.177, allocations: 60.8 kB / 1.412 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/1.178, allocations: 95.86 kB / 1.413 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007963/1.179, allocations: 1.158 MB / 1.414 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/1.179, allocations: 79.8 kB / 1.414 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/1.18, allocations: 15.98 kB / 1.414 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005283/1.18, allocations: 280 kB / 1.414 GB, free: 11.33 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004596/1.181, allocations: 282.8 kB / 1.414 GB, free: 10.98 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006325/1.181, allocations: 303 kB / 1.415 GB, free: 10.68 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/1.181, allocations: 0 / 1.415 GB, free: 10.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001008/1.182, allocations: 451.5 kB / 1.415 GB, free: 10.23 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.182, allocations: 8 kB / 1.415 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.182, allocations: 4 kB / 1.415 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/1.182, allocations: 36.83 kB / 1.415 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/1.183, allocations: 87.88 kB / 1.415 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/1.184, allocations: 1.689 MB / 1.417 GB, free: 8.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/1.185, allocations: 88.06 kB / 1.417 GB, free: 8.164 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/1.185, allocations: 16 kB / 1.417 GB, free: 8.148 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.186, allocations: 200.2 kB / 1.417 GB, free: 7.945 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/1.186, allocations: 82.98 kB / 1.417 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.187, allocations: 444.9 kB / 1.418 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.187, allocations: 0 / 1.418 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.187, allocations: 0 / 1.418 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/1.187, allocations: 208 kB / 1.418 GB, free: 7.195 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/1.187, allocations: 11.94 kB / 1.418 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/1.188, allocations: 39.94 kB / 1.418 GB, free: 7.145 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/1.188, allocations: 27.91 kB / 1.418 GB, free: 7.117 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001347/1.189, allocations: 0.5102 MB / 1.418 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001285/1.191, allocations: 0.7398 MB / 1.419 GB, free: 5.836 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003367/1.191, allocations: 155.9 kB / 1.419 GB, free: 5.684 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001168/1.192, allocations: 0.6473 MB / 1.42 GB, free: 5.039 MB / 1.139 GB Notification: Performance of Backend: time 2.3e-07/1.192, allocations: 0 / 1.42 GB, free: 5.039 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.195, allocations: 0.7811 MB / 1.421 GB, free: 4.246 MB / 1.139 GB Notification: Performance of SimCode: time 0.003063/1.198, allocations: 1.801 MB / 1.422 GB, free: 2.391 MB / 1.139 GB Notification: Performance of Templates: time 0.03128/1.229, allocations: 16.3 MB / 1.438 GB, free: 2.262 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches