Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 108 kB / 15.6 MB, free: 132 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.001551/0.001551, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.428/2.428, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 75.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7678/0.7692, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002466/0.7717, allocations: 1.38 MB / 0.9509 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.7746, allocations: 2.921 MB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.7747, allocations: 0 / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.922e-05/0.7748, allocations: 5.25 kB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.775, allocations: 48.55 kB / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.7755, allocations: 184.9 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.7758, allocations: 235.5 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.7758, allocations: 3.938 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.7759, allocations: 97.98 kB / 0.9543 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.7761, allocations: 118.9 kB / 0.9544 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.7761, allocations: 15.41 kB / 0.9544 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.7765, allocations: 133.6 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.7766, allocations: 97.69 kB / 0.9547 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.7767, allocations: 85.64 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.777, allocations: 282 kB / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.777, allocations: 1.25 kB / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7771, allocations: 0 / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7771, allocations: 0 / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007733/0.7778, allocations: 0.5252 MB / 0.9555 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.7779, allocations: 14 kB / 0.9555 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.778, allocations: 17.75 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.7783, allocations: 244 kB / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.7784, allocations: 23.83 kB / 0.9558 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.7784, allocations: 14.75 kB / 0.9558 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.7791, allocations: 288.9 kB / 0.9561 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.7791, allocations: 0 / 0.9561 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.7791, allocations: 6.219 kB / 0.9561 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.7791, allocations: 3.344 kB / 0.9561 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.7806, allocations: 0.7464 MB / 0.9568 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.781, allocations: 309.9 kB / 0.9571 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.7827, allocations: 0.6812 MB / 0.9578 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.7833, allocations: 231.7 kB / 0.958 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.7836, allocations: 389.1 kB / 0.9584 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.7837, allocations: 40.91 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.363e-06/0.7837, allocations: 0 / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001634/0.7853, allocations: 0.6557 MB / 0.9591 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.7854, allocations: 59.25 kB / 0.9591 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.7855, allocations: 126.1 kB / 0.9593 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.7855, allocations: 31.08 kB / 0.9593 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.7855, allocations: 91.11 kB / 0.9594 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.7856, allocations: 125.4 kB / 0.9595 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/0.7857, allocations: 61 kB / 0.9595 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.7858, allocations: 331.5 kB / 0.9599 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.7862, allocations: 191.6 kB / 0.96 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.7867, allocations: 202.5 kB / 0.9602 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/0.7876, allocations: 366.9 kB / 0.9606 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7876, allocations: 0 / 0.9606 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001068/0.7887, allocations: 475.1 kB / 0.961 GB, free: 1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7887, allocations: 5.25 kB / 0.961 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7888, allocations: 3.984 kB / 0.961 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.7888, allocations: 2.312 kB / 0.9611 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.7892, allocations: 96.14 kB / 0.9611 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.7892, allocations: 1.188 kB / 0.9611 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.7894, allocations: 57.7 kB / 0.9612 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.7894, allocations: 16.77 kB / 0.9612 GB, free: 0.9258 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001087/0.7895, allocations: 139.8 kB / 0.9613 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.7896, allocations: 23.86 kB / 0.9614 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.7908, allocations: 0.5096 MB / 0.9619 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.7908, allocations: 4.156 kB / 0.9619 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7908, allocations: 0 / 0.9619 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7908, allocations: 0.875 kB / 0.9619 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.7911, allocations: 309.7 kB / 0.9622 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7911, allocations: 0 / 0.9622 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.7915, allocations: 104.3 kB / 0.9623 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7915, allocations: 1.25 kB / 0.9623 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.7915, allocations: 15.98 kB / 0.9623 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7915, allocations: 1.094 kB / 0.9623 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7915, allocations: 1.125 kB / 0.9623 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.7926, allocations: 0.494 MB / 0.9628 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.7927, allocations: 106.2 kB / 0.9629 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.7928, allocations: 5.969 kB / 0.9629 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.7929, allocations: 31.81 kB / 0.9629 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.7932, allocations: 123.4 kB / 0.963 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.7932, allocations: 12.64 kB / 0.963 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.808e-05/0.7933, allocations: 100.3 kB / 0.9631 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7933, allocations: 0 / 0.9631 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004277/0.7937, allocations: 120.4 kB / 0.9632 GB, free: 15.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.0003773/0.7941, allocations: 195.4 kB / 0.9634 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.7954, allocations: 0.5564 MB / 0.964 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7954, allocations: 0 / 0.964 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.7959, allocations: 259.7 kB / 0.9642 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.7964, allocations: 79.58 kB / 0.9643 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.7971, allocations: 433.2 kB / 0.9647 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.7974, allocations: 0.7339 MB / 0.9654 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000406/0.7979, allocations: 177.6 kB / 0.9656 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.798, allocations: 43.78 kB / 0.9656 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.798, allocations: 0 / 0.9656 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.009286/0.8073, allocations: 5.267 MB / 0.9708 GB, free: 11.47 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches