Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 103.1 kB / 16.27 MB, free: 5.977 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.001931/0.001931, allocations: 189.9 kB / 17.2 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.27/2.27, allocations: 390.2 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 70.3 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.271, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004585/0.2757, allocations: 2.732 MB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2777, allocations: 1.078 MB / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003331/0.2781, allocations: 12 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007821/0.2789, allocations: 215.1 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.2793, allocations: 87.23 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.2799, allocations: 179.7 kB / 0.9545 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.2804, allocations: 399.8 kB / 0.9549 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.2808, allocations: 217.7 kB / 0.9551 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.281, allocations: 163.2 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.2813, allocations: 175 kB / 0.9554 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.2814, allocations: 44 kB / 0.9554 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.2818, allocations: 171.8 kB / 0.9556 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.282, allocations: 259.2 kB / 0.9558 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.2823, allocations: 349.6 kB / 0.9562 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2834, allocations: 0.9456 MB / 0.9571 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2834, allocations: 0 / 0.9571 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2834, allocations: 0 / 0.9571 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.2834, allocations: 0 / 0.9571 GB, free: 1.859 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001803/0.2852, allocations: 1.127 MB / 0.9582 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2853, allocations: 8.031 kB / 0.9582 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.2867, allocations: 243.4 kB / 0.9584 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2882, allocations: 0.7189 MB / 0.9591 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2882, allocations: 25.03 kB / 0.9592 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/0.2883, allocations: 32.38 kB / 0.9592 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/0.2892, allocations: 378.5 kB / 0.9596 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2892, allocations: 3.938 kB / 0.9596 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.2892, allocations: 16 kB / 0.9596 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2892, allocations: 8 kB / 0.9596 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.2903, allocations: 414.4 kB / 0.96 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.2937, allocations: 1.799 MB / 0.9617 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.2944, allocations: 218.6 kB / 0.9619 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.2947, allocations: 102.6 kB / 0.962 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.2948, allocations: 4 kB / 0.962 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.2948, allocations: 38.5 kB / 0.9621 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.2948, allocations: 0 / 0.9621 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001133/0.2959, allocations: 372.3 kB / 0.9624 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.296, allocations: 59.41 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.2975, allocations: 1.247 MB / 0.9637 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.2976, allocations: 29.7 kB / 0.9637 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.2979, allocations: 432.1 kB / 0.9641 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.298, allocations: 67.31 kB / 0.9642 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2981, allocations: 49.7 kB / 0.9643 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2983, allocations: 314 kB / 0.9646 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.2986, allocations: 147.9 kB / 0.9647 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.299, allocations: 210.3 kB / 0.9649 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.2997, allocations: 278 kB / 0.9652 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2997, allocations: 0 / 0.9652 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009775/0.3007, allocations: 466.2 kB / 0.9656 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3007, allocations: 8.156 kB / 0.9656 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3008, allocations: 4 kB / 0.9656 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.3008, allocations: 7.875 kB / 0.9656 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.3011, allocations: 59.91 kB / 0.9657 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3012, allocations: 4 kB / 0.9657 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.3015, allocations: 43.66 kB / 0.9657 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.3016, allocations: 12 kB / 0.9657 GB, free: 8.66 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.000387/0.302, allocations: 273.7 kB / 0.966 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3021, allocations: 78.97 kB / 0.9661 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009491/0.3031, allocations: 327.7 kB / 0.9664 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3031, allocations: 7.938 kB / 0.9664 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3031, allocations: 0 / 0.9664 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3031, allocations: 3.984 kB / 0.9664 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.3049, allocations: 0.9958 MB / 0.9674 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.305, allocations: 0 / 0.9674 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.3052, allocations: 51.89 kB / 0.9674 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.3053, allocations: 4 kB / 0.9674 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.3053, allocations: 4 kB / 0.9674 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3053, allocations: 4.062 kB / 0.9674 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3053, allocations: 8 kB / 0.9674 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.3062, allocations: 439.6 kB / 0.9679 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.3065, allocations: 204 kB / 0.9681 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.3066, allocations: 12 kB / 0.9681 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.3069, allocations: 19.97 kB / 0.9681 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.3069, allocations: 19.92 kB / 0.9681 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.307, allocations: 8 kB / 0.9681 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001189/0.3082, allocations: 0.8989 MB / 0.969 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3082, allocations: 7.938 kB / 0.969 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004836/0.3087, allocations: 103.8 kB / 0.9691 GB, free: 5.066 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002509/0.3089, allocations: 119.2 kB / 0.9692 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007975/0.3097, allocations: 285.6 kB / 0.9695 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3097, allocations: 0 / 0.9695 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.3101, allocations: 108.4 kB / 0.9696 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.3106, allocations: 67.44 kB / 0.9697 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.3133, allocations: 1.448 MB / 0.9711 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.314, allocations: 0.9946 MB / 0.972 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3142, allocations: 51.42 kB / 0.9721 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.3142, allocations: 0 / 0.9721 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.01482/0.329, allocations: 8.946 MB / 0.9808 GB, free: 9 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches