Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.88 kB / 1.059 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2616, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003356/0.265, allocations: 1.909 MB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.2673, allocations: 1.648 MB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.2674, allocations: 0 / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2676, allocations: 31.72 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.2678, allocations: 83.53 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.2683, allocations: 167.3 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.2686, allocations: 285.4 kB / 1.22 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.2687, allocations: 25.05 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2688, allocations: 95.75 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.269, allocations: 115.7 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.2691, allocations: 20 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.2692, allocations: 79.97 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2693, allocations: 91.73 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2694, allocations: 123.3 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.2698, allocations: 326.6 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2698, allocations: 4 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2698, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2698, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007668/0.2706, allocations: 0.5651 MB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2706, allocations: 8.031 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.253e-05/0.2707, allocations: 58.72 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.2708, allocations: 32.75 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.2711, allocations: 274.9 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2711, allocations: 16.38 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.2712, allocations: 19.94 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.2715, allocations: 240.9 kB / 1.222 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2715, allocations: 0 / 1.222 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.2716, allocations: 8 kB / 1.222 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2716, allocations: 4 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.2724, allocations: 0.749 MB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009756/0.2734, allocations: 0.6409 MB / 1.223 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.2739, allocations: 293.9 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.274, allocations: 101.4 kB / 1.223 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.2741, allocations: 24.23 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.2744, allocations: 184.6 kB / 1.224 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.2744, allocations: 0 / 1.224 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.000644/0.275, allocations: 380.9 kB / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.2751, allocations: 136.5 kB / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.2754, allocations: 312.9 kB / 1.224 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2754, allocations: 33.7 kB / 1.224 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.2755, allocations: 136.7 kB / 1.224 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.2756, allocations: 115 kB / 1.225 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.2757, allocations: 65.69 kB / 1.225 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2759, allocations: 342.8 kB / 1.225 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.276, allocations: 79.95 kB / 1.225 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2762, allocations: 127.4 kB / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.2765, allocations: 214.3 kB / 1.225 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2765, allocations: 4 kB / 1.225 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004357/0.277, allocations: 285.1 kB / 1.226 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.277, allocations: 11.94 kB / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.277, allocations: 0 / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.277, allocations: 4 kB / 1.226 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.2772, allocations: 63.91 kB / 1.226 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2772, allocations: 0 / 1.226 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2773, allocations: 23.88 kB / 1.226 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2774, allocations: 8 kB / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001576/0.2775, allocations: 165.7 kB / 1.226 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.2776, allocations: 39.75 kB / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006563/0.2782, allocations: 380.9 kB / 1.226 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2782, allocations: 8 kB / 1.226 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.2782, allocations: 0 / 1.226 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2783, allocations: 0 / 1.226 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.2786, allocations: 353.2 kB / 1.227 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2786, allocations: 0 / 1.227 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2788, allocations: 63.91 kB / 1.227 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2788, allocations: 3.938 kB / 1.227 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.2788, allocations: 15.92 kB / 1.227 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2788, allocations: 4 kB / 1.227 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2788, allocations: 0 / 1.227 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.2793, allocations: 325.8 kB / 1.227 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2794, allocations: 148.8 kB / 1.227 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.2794, allocations: 7.938 kB / 1.227 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2796, allocations: 19.98 kB / 1.227 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.2797, allocations: 31.81 kB / 1.227 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.2797, allocations: 16 kB / 1.227 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002113/0.2799, allocations: 236.4 kB / 1.228 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2799, allocations: 4 kB / 1.228 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002761/0.2802, allocations: 67.89 kB / 1.228 GB, free: 3.184 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001916/0.2821, allocations: 1.158 MB / 1.229 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.2825, allocations: 219.7 kB / 1.229 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2825, allocations: 0 / 1.229 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2827, allocations: 127.7 kB / 1.229 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.2829, allocations: 49.16 kB / 1.229 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.2858, allocations: 2.537 MB / 1.232 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.2862, allocations: 0.7695 MB / 1.232 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000297/0.2865, allocations: 146.8 kB / 1.232 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.2866, allocations: 99.33 kB / 1.233 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.2866, allocations: 0 / 1.233 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3182, allocations: 6.038 MB / 1.238 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/7.758, allocations: 5.703 kB / 1.238 GB, free: 8.113 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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: 13.164606181002455]