Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007835/0.0007835, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.826/0.826, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6127/0.6127, allocations: 88.07 MB / 348.8 MB, free: 14.34 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.523 GB, free: 4.082 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.353e-05, allocations: 7.766 kB / 0.523 GB, free: 4.074 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0007764/0.0007899, allocations: 401.4 kB / 0.5233 GB, free: 3.684 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003143/0.001104, allocations: 175.3 kB / 0.5235 GB, free: 3.516 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.001126, allocations: 4 kB / 0.5235 GB, free: 3.512 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.001139, allocations: 0 / 0.5235 GB, free: 3.512 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.001187, allocations: 4 kB / 0.5235 GB, free: 3.508 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.001328, allocations: 15.92 kB / 0.5235 GB, free: 3.492 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.001402, allocations: 0 / 0.5235 GB, free: 3.492 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.001519, allocations: 4 kB / 0.5235 GB, free: 3.488 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.001547, allocations: 0 / 0.5235 GB, free: 3.488 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.001591, allocations: 0 / 0.5235 GB, free: 3.488 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.001604, allocations: 0 / 0.5235 GB, free: 3.488 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.001664, allocations: 23.91 kB / 0.5236 GB, free: 3.465 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.001677, allocations: 11.94 kB / 0.5236 GB, free: 3.453 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.001691, allocations: 4 kB / 0.5236 GB, free: 3.449 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.362e-05/0.001764, allocations: 11.98 kB / 0.5236 GB, free: 3.438 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.001767, allocations: 4 kB / 0.5236 GB, free: 3.434 MB / 442.8 MB Notification: Performance of FrontEnd: time 6.72e-07/0.001767, allocations: 0 / 0.5236 GB, free: 3.434 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.001772, allocations: 3.984 kB / 0.5236 GB, free: 3.43 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002073/0.00198, allocations: 234.4 kB / 0.5238 GB, free: 3.168 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.002015, allocations: 11.97 kB / 0.5238 GB, free: 3.156 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.002043, allocations: 38.69 kB / 0.5239 GB, free: 3.109 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.002063, allocations: 4.938 kB / 0.5239 GB, free: 3.105 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.172e-05/0.002115, allocations: 105.8 kB / 0.524 GB, free: 2.977 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.002124, allocations: 4.375 kB / 0.524 GB, free: 2.973 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.002131, allocations: 384 / 0.524 GB, free: 2.973 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.575e-05/0.002207, allocations: 30.27 kB / 0.524 GB, free: 2.938 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.002213, allocations: 192 / 0.524 GB, free: 2.938 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-06/0.00222, allocations: 384 / 0.524 GB, free: 2.938 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.002226, allocations: 8.125 kB / 0.524 GB, free: 2.93 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.002255, allocations: 4 kB / 0.524 GB, free: 2.926 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.002358, allocations: 124.8 kB / 0.5241 GB, free: 2.762 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/0.002404, allocations: 26.55 kB / 0.5242 GB, free: 2.727 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.00242, allocations: 12.92 kB / 0.5242 GB, free: 2.711 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.002567, allocations: 7.984 kB / 0.5242 GB, free: 2.703 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.002585, allocations: 34.56 kB / 0.5242 GB, free: 2.66 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.002585, allocations: 0 / 0.5242 GB, free: 2.66 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001127/0.002698, allocations: 37.7 kB / 0.5242 GB, free: 2.617 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.002725, allocations: 59.28 kB / 0.5243 GB, free: 2.547 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.449e-05/0.00275, allocations: 93.8 kB / 0.5244 GB, free: 2.445 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.002758, allocations: 25.7 kB / 0.5244 GB, free: 2.414 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/0.002778, allocations: 84.12 kB / 0.5245 GB, free: 2.328 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.002804, allocations: 16.06 kB / 0.5245 GB, free: 2.312 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.002824, allocations: 13.72 kB / 0.5245 GB, free: 2.293 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.002895, allocations: 314.8 kB / 0.5248 GB, free: 1.977 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-06/0.002904, allocations: 0 / 0.5248 GB, free: 1.977 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.00291, allocations: 4 kB / 0.5248 GB, free: 1.973 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.002934, allocations: 12.86 kB / 0.5248 GB, free: 1.957 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.002936, allocations: 0 / 0.5248 GB, free: 1.957 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.566e-05/0.002972, allocations: 37.69 kB / 0.5249 GB, free: 1.914 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.002982, allocations: 4 kB / 0.5249 GB, free: 1.91 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.002986, allocations: 4.031 kB / 0.5249 GB, free: 1.906 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.002996, allocations: 4 kB / 0.5249 GB, free: 1.902 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.003039, allocations: 4 kB / 0.5249 GB, free: 1.898 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.003045, allocations: 3.938 kB / 0.5249 GB, free: 1.895 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-06/0.003053, allocations: 0 / 0.5249 GB, free: 1.895 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.003058, allocations: 4 kB / 0.5249 GB, free: 1.891 MB / 442.8 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 (2): * Single equations (assignments): 2 * 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 4.908e-05/0.003107, allocations: 109.8 kB / 0.525 GB, free: 1.773 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-06/0.003109, allocations: 0 / 0.525 GB, free: 1.773 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.003176, allocations: 48.8 kB / 0.5251 GB, free: 1.719 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.003178, allocations: 4.031 kB / 0.5251 GB, free: 1.715 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.003182, allocations: 3.938 kB / 0.5251 GB, free: 1.711 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.003186, allocations: 7.938 kB / 0.5251 GB, free: 1.703 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.32e-05/0.003239, allocations: 116.8 kB / 0.5252 GB, free: 1.547 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00324, allocations: 0 / 0.5252 GB, free: 1.547 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.00325, allocations: 4 kB / 0.5252 GB, free: 1.543 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.003251, allocations: 0 / 0.5252 GB, free: 1.543 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.003257, allocations: 7.938 kB / 0.5252 GB, free: 1.535 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003257, allocations: 0 / 0.5252 GB, free: 1.535 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.003258, allocations: 3.938 kB / 0.5252 GB, free: 1.531 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.364e-05/0.003302, allocations: 69.08 kB / 0.5253 GB, free: 1.445 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.003306, allocations: 8.016 kB / 0.5253 GB, free: 1.438 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.003314, allocations: 0 / 0.5253 GB, free: 1.438 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-06/0.00332, allocations: 4 kB / 0.5253 GB, free: 1.434 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.003332, allocations: 3.938 kB / 0.5253 GB, free: 1.43 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.003333, allocations: 3.938 kB / 0.5253 GB, free: 1.426 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.07e-05/0.003354, allocations: 79.28 kB / 0.5254 GB, free: 1.348 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003354, allocations: 0 / 0.5254 GB, free: 1.348 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001567/0.00351, allocations: 7.938 kB / 0.5254 GB, free: 1.34 MB / 442.8 MB 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 (2): * Single equations (assignments): 2 * 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.0002462/0.003757, allocations: 0.6007 MB / 0.526 GB, free: 0.7109 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 9.045e-05/0.003847, allocations: 8.031 kB / 0.526 GB, free: 0.7031 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.003849, allocations: 0 / 0.526 GB, free: 0.7031 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.062e-06/0.003855, allocations: 4 kB / 0.526 GB, free: 0.6992 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.004031, allocations: 14.91 kB / 0.526 GB, free: 0.6875 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.00426, allocations: 114.4 kB / 0.5261 GB, free: 0.5352 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.004296, allocations: 55.36 kB / 0.5261 GB, free: 472 kB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.574e-05/0.004311, allocations: 4.125 kB / 0.5261 GB, free: 468 kB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.004333, allocations: 12.5 kB / 0.5262 GB, free: 456 kB / 442.8 MB Notification: Performance of SimCode: time 2.51e-07/0.004333, allocations: 0 / 0.5262 GB, free: 456 kB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.01947, allocations: 1.74 MB / 0.5279 GB, free: 14.82 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/6.519, allocations: 10.59 kB / 0.5279 GB, free: 14.82 MB / 458.8 MB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --stepSize=2.00004e-05 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.255615781061351]