Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001239/0.001239, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.279/1.279, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.844/0.844, allocations: 119.3 MB / 411.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 55.91 kB / 0.4916 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4245, allocations: 80.7 MB / 0.5704 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001457/0.426, allocations: 404.6 kB / 0.5708 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003913/0.4264, allocations: 218.2 kB / 0.571 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.4264, allocations: 0 / 0.571 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.4265, allocations: 5.312 kB / 0.571 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.4266, allocations: 1.375 kB / 0.571 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.962e-05/0.4267, allocations: 26.78 kB / 0.571 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.4268, allocations: 12.11 kB / 0.571 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.4268, allocations: 1.375 kB / 0.571 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.4268, allocations: 10.62 kB / 0.5711 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.4269, allocations: 6.734 kB / 0.5711 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.4269, allocations: 1.375 kB / 0.5711 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.427, allocations: 26.92 kB / 0.5711 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.427, allocations: 5.375 kB / 0.5711 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.427, allocations: 9.297 kB / 0.5711 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.374e-05/0.4271, allocations: 25.53 kB / 0.5711 GB, free: 42.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4271, allocations: 0 / 0.5711 GB, free: 42.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4271, allocations: 0 / 0.5711 GB, free: 42.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.4271, allocations: 1.375 kB / 0.5711 GB, free: 42.8 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002473/0.4273, allocations: 322.4 kB / 0.5714 GB, free: 42.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.4274, allocations: 9.625 kB / 0.5714 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.4274, allocations: 10.22 kB / 0.5715 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.203e-05/0.4275, allocations: 166.3 kB / 0.5716 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.4275, allocations: 5.75 kB / 0.5716 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.4275, allocations: 1.344 kB / 0.5716 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/0.4276, allocations: 38.73 kB / 0.5717 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.4276, allocations: 192 / 0.5717 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.4276, allocations: 5.031 kB / 0.5717 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4276, allocations: 0 / 0.5717 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.4277, allocations: 13.38 kB / 0.5717 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.656e-05/0.4278, allocations: 157 kB / 0.5718 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.428, allocations: 40.11 kB / 0.5719 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.428, allocations: 12.47 kB / 0.5719 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.428, allocations: 0 / 0.5719 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.678e-06/0.428, allocations: 31.5 kB / 0.5719 GB, free: 41.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.428, allocations: 1.125 kB / 0.5719 GB, free: 41.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001179/0.4281, allocations: 58.66 kB / 0.572 GB, free: 41.85 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.4282, allocations: 56.62 kB / 0.572 GB, free: 41.78 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.102e-05/0.4282, allocations: 91.86 kB / 0.5721 GB, free: 41.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.4282, allocations: 27.05 kB / 0.5721 GB, free: 41.65 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.4282, allocations: 84.12 kB / 0.5722 GB, free: 41.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.4283, allocations: 13.84 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.4283, allocations: 13.03 kB / 0.5722 GB, free: 41.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.4283, allocations: 315.9 kB / 0.5725 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.4283, allocations: 11.39 kB / 0.5725 GB, free: 41.21 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.4284, allocations: 4.438 kB / 0.5726 GB, free: 41.21 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.4284, allocations: 24.77 kB / 0.5726 GB, free: 41.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4284, allocations: 5.031 kB / 0.5726 GB, free: 41.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.605e-05/0.4285, allocations: 47.72 kB / 0.5726 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4285, allocations: 12.89 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4285, allocations: 3.938 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4285, allocations: 1.094 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.4286, allocations: 5.625 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4286, allocations: 1.188 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.4286, allocations: 11.88 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4286, allocations: 1.062 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB 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 (4): * Single equations (assignments): 4 * 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 3.844e-05/0.4287, allocations: 108.2 kB / 0.5728 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.4287, allocations: 5.062 kB / 0.5728 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.4288, allocations: 72.98 kB / 0.5728 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4288, allocations: 1.031 kB / 0.5728 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4288, allocations: 5.156 kB / 0.5728 GB, free: 40.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4288, allocations: 0 / 0.5728 GB, free: 40.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.906e-05/0.4289, allocations: 164.5 kB / 0.573 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4289, allocations: 1.156 kB / 0.573 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.429, allocations: 12.11 kB / 0.573 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.429, allocations: 0 / 0.573 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.429, allocations: 5.094 kB / 0.573 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.429, allocations: 1.094 kB / 0.573 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.429, allocations: 0 / 0.573 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.4291, allocations: 113.7 kB / 0.5731 GB, free: 40.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.4291, allocations: 78.67 kB / 0.5732 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4291, allocations: 5.531 kB / 0.5732 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.4292, allocations: 0 / 0.5732 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.4292, allocations: 1.375 kB / 0.5732 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4292, allocations: 2.906 kB / 0.5732 GB, free: 40.53 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.817e-05/0.4292, allocations: 84.7 kB / 0.5733 GB, free: 40.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4292, allocations: 0 / 0.5733 GB, free: 40.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001828/0.4294, allocations: 7.281 kB / 0.5733 GB, free: 40.45 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 9.358e-05/0.4295, allocations: 103.9 kB / 0.5734 GB, free: 40.35 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.55e-05/0.4296, allocations: 35.8 kB / 0.5734 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4296, allocations: 0 / 0.5734 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.4296, allocations: 19.36 kB / 0.5735 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.4298, allocations: 1.375 kB / 0.5735 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.43, allocations: 160.8 kB / 0.5736 GB, free: 40.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.958e-05/0.4301, allocations: 0.6833 MB / 0.5743 GB, free: 39.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.4301, allocations: 9.656 kB / 0.5743 GB, free: 39.45 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4301, allocations: 0 / 0.5743 GB, free: 39.45 MB / 462.3 MB Notification: Performance of Templates: time 0.001719/0.4318, allocations: 0.6909 MB / 0.575 GB, free: 39.11 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches