Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001375/0.001375, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.52/2.52, allocations: 390.2 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 66.36 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3738, allocations: 140.4 MB / 0.9498 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.003972/0.3779, allocations: 1.648 MB / 0.9514 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.3781, allocations: 55.77 kB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.3782, allocations: 0 / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.982e-05/0.3782, allocations: 3.984 kB / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.3783, allocations: 11.86 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.3785, allocations: 19.98 kB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3786, allocations: 71.72 kB / 0.9516 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3788, allocations: 24.16 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.3788, allocations: 23.92 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.3789, allocations: 39.83 kB / 0.9516 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.379, allocations: 4 kB / 0.9516 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.379, allocations: 8 kB / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.379, allocations: 11.98 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.3791, allocations: 27.81 kB / 0.9517 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.3792, allocations: 48.12 kB / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3792, allocations: 0 / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3792, allocations: 0 / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3792, allocations: 0 / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006969/0.3799, allocations: 395.2 kB / 0.9521 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.38, allocations: 12.03 kB / 0.9521 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.38, allocations: 12.78 kB / 0.9521 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3802, allocations: 176.2 kB / 0.9523 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3802, allocations: 8.312 kB / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.3803, allocations: 4.375 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.3806, allocations: 97.56 kB / 0.9524 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3807, allocations: 0 / 0.9524 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3807, allocations: 3.984 kB / 0.9524 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3807, allocations: 4 kB / 0.9524 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.3811, allocations: 103.9 kB / 0.9525 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.3816, allocations: 296.8 kB / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.382, allocations: 94.48 kB / 0.9529 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.3822, allocations: 64.94 kB / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3823, allocations: 0 / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3823, allocations: 38.64 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3823, allocations: 7.875 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0007702/0.3831, allocations: 193.4 kB / 0.9532 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3831, allocations: 51.41 kB / 0.9532 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.3832, allocations: 117.8 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3833, allocations: 29.7 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.3833, allocations: 92.06 kB / 0.9535 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3834, allocations: 19.72 kB / 0.9535 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.3834, allocations: 17.72 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3836, allocations: 326.8 kB / 0.9538 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.3838, allocations: 43.94 kB / 0.9538 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.384, allocations: 51.95 kB / 0.9539 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3844, allocations: 108.7 kB / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3844, allocations: 0 / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004748/0.3849, allocations: 145.5 kB / 0.9541 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3849, allocations: 4 kB / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3849, allocations: 4 kB / 0.9541 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.385, allocations: 0 / 0.9541 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3851, allocations: 27.97 kB / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3852, allocations: 0 / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3853, allocations: 19.97 kB / 0.9542 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3853, allocations: 0 / 0.9542 GB, free: 4.438 MB / 0.7325 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 (6): * Single equations (assignments): 6 * 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.000107/0.3854, allocations: 123.7 kB / 0.9543 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.3854, allocations: 7.844 kB / 0.9543 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.3855, allocations: 12.38 kB / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3855, allocations: 0 / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3855, allocations: 4 kB / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3855, allocations: 0 / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3857, allocations: 193.5 kB / 0.9545 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3857, allocations: 448 / 0.9545 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3859, allocations: 27.97 kB / 0.9545 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3859, allocations: 0 / 0.9545 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3859, allocations: 4 kB / 0.9545 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3859, allocations: 0 / 0.9545 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3859, allocations: 7.938 kB / 0.9546 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.3864, allocations: 243.3 kB / 0.9548 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.3865, allocations: 81.05 kB / 0.9549 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3865, allocations: 0 / 0.9549 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3867, allocations: 23.97 kB / 0.9549 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.3867, allocations: 11.98 kB / 0.9549 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3867, allocations: 0 / 0.9549 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.3868, allocations: 95.64 kB / 0.955 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3868, allocations: 0 / 0.955 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002302/0.3871, allocations: 15.94 kB / 0.955 GB, free: 3.512 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 (6): * Single equations (assignments): 6 * 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.0001684/0.3872, allocations: 103.2 kB / 0.9551 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.3877, allocations: 111.9 kB / 0.9552 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3877, allocations: 3.938 kB / 0.9552 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.388, allocations: 59.94 kB / 0.9553 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3883, allocations: 14.66 kB / 0.9553 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.3888, allocations: 210.3 kB / 0.9555 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3891, allocations: 0.6961 MB / 0.9562 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.3892, allocations: 11.44 kB / 0.9562 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.3892, allocations: 0 / 0.9562 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.002712/0.3919, allocations: 1.021 MB / 0.9572 GB, free: 1.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches