Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001168/0.001168, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 63.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7769, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.2863/1.063, allocations: 255.8 MB / 1.338 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01528/1.079, allocations: 9.613 MB / 1.348 GB, free: 4.008 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/1.082, allocations: 83.5 kB / 1.348 GB, free: 3.926 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/1.084, allocations: 0.9902 MB / 1.349 GB, free: 2.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007241/1.092, allocations: 2.783 MB / 1.352 GB, free: 140 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005569/1.097, allocations: 2.175 MB / 1.354 GB, free: 13.97 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005563/1.103, allocations: 4.191 MB / 1.358 GB, free: 9.773 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/1.106, allocations: 1.703 MB / 1.359 GB, free: 8.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/1.11, allocations: 2.059 MB / 1.361 GB, free: 5.953 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/1.112, allocations: 1.328 MB / 1.363 GB, free: 4.633 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005636/1.113, allocations: 184 kB / 1.363 GB, free: 4.453 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005983/1.119, allocations: 3.153 MB / 1.366 GB, free: 1.293 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008297/1.12, allocations: 0.5997 MB / 1.367 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/1.122, allocations: 1.034 MB / 1.368 GB, free: 15.65 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006283/1.128, allocations: 3.708 MB / 1.371 GB, free: 11.93 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.128, allocations: 0 / 1.371 GB, free: 11.93 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.904e-06/1.128, allocations: 0 / 1.371 GB, free: 11.93 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.61e-05/1.128, allocations: 0 / 1.371 GB, free: 11.93 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.00483/1.133, allocations: 2.483 MB / 1.374 GB, free: 9.371 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.133, allocations: 8.031 kB / 1.374 GB, free: 9.363 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/1.137, allocations: 0.6298 MB / 1.374 GB, free: 8.73 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/1.14, allocations: 1.438 MB / 1.376 GB, free: 7.238 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/1.14, allocations: 94.33 kB / 1.376 GB, free: 7.145 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/1.14, allocations: 135.8 kB / 1.376 GB, free: 7.012 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/1.143, allocations: 1.44 MB / 1.377 GB, free: 5.504 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/1.143, allocations: 0 / 1.377 GB, free: 5.504 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/1.143, allocations: 48 kB / 1.377 GB, free: 5.457 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/1.143, allocations: 46.27 kB / 1.377 GB, free: 5.41 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/1.145, allocations: 1.196 MB / 1.379 GB, free: 4.207 MB / 1.107 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.008016/1.153, allocations: 5.763 MB / 1.384 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/1.155, allocations: 1.03 MB / 1.385 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009971/1.156, allocations: 0.5331 MB / 1.386 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/1.157, allocations: 315.9 kB / 1.386 GB, free: 12.15 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/1.158, allocations: 0.57 MB / 1.387 GB, free: 11.56 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.056e-06/1.158, allocations: 4 kB / 1.387 GB, free: 11.56 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.007138/1.165, allocations: 3.171 MB / 1.39 GB, free: 8.293 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.165, allocations: 93.7 kB / 1.39 GB, free: 8.184 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/1.167, allocations: 1.309 MB / 1.391 GB, free: 6.863 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/1.167, allocations: 41.7 kB / 1.391 GB, free: 6.816 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/1.167, allocations: 0.7442 MB / 1.392 GB, free: 6.062 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/1.168, allocations: 295.7 kB / 1.392 GB, free: 5.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1.168, allocations: 190.5 kB / 1.392 GB, free: 5.578 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.168, allocations: 349.9 kB / 1.393 GB, free: 5.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009709/1.169, allocations: 428.6 kB / 1.393 GB, free: 4.809 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/1.17, allocations: 0.6589 MB / 1.394 GB, free: 4.062 MB / 1.123 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/1.184, allocations: 3.666 MB / 1.397 GB, free: 300 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.184, allocations: 0 / 1.397 GB, free: 300 kB / 1.123 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003052/1.187, allocations: 1.377 MB / 1.399 GB, free: 14.9 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/1.188, allocations: 33.7 kB / 1.399 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.188, allocations: 7.938 kB / 1.399 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003877/1.188, allocations: 80.72 kB / 1.399 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/1.189, allocations: 216 kB / 1.399 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004342/1.189, allocations: 0.5913 MB / 1.399 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.191, allocations: 69.56 kB / 1.4 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/1.191, allocations: 39.98 kB / 1.4 GB, free: 13.84 MB / 1.139 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001486/1.192, allocations: 0.7478 MB / 1.4 GB, free: 13.09 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/1.193, allocations: 0.6394 MB / 1.401 GB, free: 12.36 MB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01368/1.207, allocations: 3.631 MB / 1.404 GB, free: 8.625 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/1.207, allocations: 4 kB / 1.404 GB, free: 8.621 MB / 1.139 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002776/1.21, allocations: 1.357 MB / 1.406 GB, free: 7.246 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/1.21, allocations: 35.89 kB / 1.406 GB, free: 7.207 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.21, allocations: 7.984 kB / 1.406 GB, free: 7.199 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/1.21, allocations: 48.91 kB / 1.406 GB, free: 7.148 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/1.211, allocations: 216 kB / 1.406 GB, free: 6.938 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/1.213, allocations: 1.778 MB / 1.408 GB, free: 5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.214, allocations: 68 kB / 1.408 GB, free: 4.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/1.214, allocations: 47.92 kB / 1.408 GB, free: 4.887 MB / 1.139 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003122/1.214, allocations: 277.7 kB / 1.408 GB, free: 4.602 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/1.215, allocations: 158 kB / 1.408 GB, free: 4.445 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/1.217, allocations: 1.241 MB / 1.41 GB, free: 3.184 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/1.219, allocations: 1.11 MB / 1.411 GB, free: 2.035 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.219, allocations: 0 / 1.411 GB, free: 2.035 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/1.22, allocations: 334.9 kB / 1.411 GB, free: 1.688 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/1.22, allocations: 24 kB / 1.411 GB, free: 1.664 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/1.221, allocations: 51.95 kB / 1.411 GB, free: 1.613 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.222, allocations: 48.58 kB / 1.411 GB, free: 1.566 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003071/1.225, allocations: 1.321 MB / 1.412 GB, free: 220 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003362/1.228, allocations: 1.876 MB / 1.414 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009305/1.229, allocations: 0.4896 MB / 1.415 GB, free: 13.82 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001272/1.23, allocations: 0.8936 MB / 1.416 GB, free: 12.93 MB / 1.154 GB Notification: Performance of Backend: time 4.81e-07/1.23, allocations: 3.938 kB / 1.416 GB, free: 12.93 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005116/1.235, allocations: 2.208 MB / 1.418 GB, free: 10.68 MB / 1.154 GB Notification: Performance of SimCode: time 0.006535/1.242, allocations: 3.783 MB / 1.421 GB, free: 6.848 MB / 1.154 GB Notification: Performance of Templates: time 0.06111/1.303, allocations: 39.2 MB / 1.46 GB, free: 4 kB / 1.186 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Examples_Humidifier_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches