Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001784, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.00161/0.00161, allocations: 187 kB / 17.34 MB, free: 5.742 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.15 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.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 71.89 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9752/0.9768, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004486/0.9814, allocations: 3.015 MB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2094/1.191, allocations: 153.4 MB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/1.192, allocations: 2.281 kB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005652/1.192, allocations: 93.78 kB / 1.242 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/1.194, allocations: 281.9 kB / 1.242 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/1.197, allocations: 1.009 MB / 1.243 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00142/1.198, allocations: 0.7847 MB / 1.244 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/1.198, allocations: 87.08 kB / 1.244 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/1.199, allocations: 322.8 kB / 1.244 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/1.2, allocations: 333 kB / 1.244 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/1.2, allocations: 67.66 kB / 1.244 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/1.203, allocations: 0.7831 MB / 1.245 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/1.203, allocations: 154.8 kB / 1.245 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006169/1.204, allocations: 281.5 kB / 1.245 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/1.206, allocations: 0.976 MB / 1.246 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.206, allocations: 0 / 1.246 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/1.206, allocations: 0 / 1.246 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.933e-05/1.206, allocations: 3.984 kB / 1.246 GB, free: 12.15 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003176/1.209, allocations: 1.055 MB / 1.247 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/1.209, allocations: 12.03 kB / 1.247 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/1.212, allocations: 267 kB / 1.248 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/1.213, allocations: 404.9 kB / 1.248 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/1.213, allocations: 95.78 kB / 1.248 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.213, allocations: 43.98 kB / 1.248 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/1.214, allocations: 368.2 kB / 1.249 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.214, allocations: 4 kB / 1.249 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/1.214, allocations: 11.94 kB / 1.249 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.214, allocations: 4 kB / 1.249 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/1.215, allocations: 257.4 kB / 1.249 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/1.219, allocations: 1.673 MB / 1.251 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/1.22, allocations: 254.6 kB / 1.251 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/1.221, allocations: 156.8 kB / 1.251 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/1.221, allocations: 7.984 kB / 1.251 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007186/1.222, allocations: 302.3 kB / 1.251 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/1.222, allocations: 0 / 1.251 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008859/1.23, allocations: 1.505 MB / 1.253 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/1.231, allocations: 81.11 kB / 1.253 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.232, allocations: 449.7 kB / 1.253 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002574/1.232, allocations: 45.69 kB / 1.253 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/1.232, allocations: 200.9 kB / 1.253 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/1.232, allocations: 98.64 kB / 1.254 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005256/1.233, allocations: 158.2 kB / 1.254 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.233, allocations: 362.7 kB / 1.254 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.234, allocations: 273.1 kB / 1.254 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/1.236, allocations: 421.7 kB / 1.255 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008381/1.244, allocations: 1.849 MB / 1.256 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.244, allocations: 0 / 1.256 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007485/1.252, allocations: 1.576 MB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/1.252, allocations: 67.53 kB / 1.258 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.252, allocations: 0 / 1.258 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/1.254, allocations: 399 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/1.254, allocations: 87.88 kB / 1.259 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/1.26, allocations: 4.677 MB / 1.263 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.261, allocations: 103.2 kB / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.261, allocations: 39.95 kB / 1.263 GB, free: 10.13 MB / 0.9981 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {7, 7} * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004055/1.261, allocations: 165.8 kB / 1.263 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.262, allocations: 43.44 kB / 1.263 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.298e-05/1.262, allocations: 51.45 kB / 1.263 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.262, allocations: 4 kB / 1.263 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.262, allocations: 0 / 1.263 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.262, allocations: 3.984 kB / 1.263 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/1.262, allocations: 469.2 kB / 1.264 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.262, allocations: 0 / 1.264 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.263, allocations: 31.97 kB / 1.264 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005976/1.263, allocations: 225.5 kB / 1.264 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/1.263, allocations: 23.92 kB / 1.264 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.265, allocations: 1.493 MB / 1.266 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.265, allocations: 0 / 1.266 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/1.271, allocations: 1.276 MB / 1.267 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/1.271, allocations: 172.4 kB / 1.267 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.272, allocations: 8 kB / 1.267 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/1.272, allocations: 35.95 kB / 1.267 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.272, allocations: 43.88 kB / 1.267 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/1.272, allocations: 15.98 kB / 1.267 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004372/1.273, allocations: 303.1 kB / 1.267 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.273, allocations: 4 kB / 1.267 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007583/1.274, allocations: 159.8 kB / 1.268 GB, free: 5.48 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004265/1.274, allocations: 173.5 kB / 1.268 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003338/1.277, allocations: 1.04 MB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.277, allocations: 4.125 kB / 1.269 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/1.279, allocations: 328.3 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/1.28, allocations: 113.7 kB / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/1.281, allocations: 0.9236 MB / 1.27 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/1.282, allocations: 0.8112 MB / 1.271 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/1.282, allocations: 43.41 kB / 1.271 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of SimCode: time 5e-07/1.282, allocations: 0 / 1.271 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.01745/1.3, allocations: 12.25 MB / 1.283 GB, free: 5.727 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches