Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001435/0.001435, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.001652/0.001652, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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 1.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.781/2.781, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.568e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.006729/0.006764, allocations: 1.882 MB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004962/0.01173, allocations: 1.795 MB / 0.79 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.0119, allocations: 4.656 kB / 0.79 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.01225, allocations: 38.91 kB / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009061/0.01315, allocations: 111.4 kB / 0.7901 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.01414, allocations: 175.4 kB / 0.7903 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.01485, allocations: 305.2 kB / 0.7906 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.01503, allocations: 21.28 kB / 0.7906 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.01543, allocations: 147.8 kB / 0.7907 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.01583, allocations: 92.77 kB / 0.7908 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.202e-05/0.01591, allocations: 20 kB / 0.7909 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.01637, allocations: 132.3 kB / 0.791 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.01657, allocations: 91.73 kB / 0.7911 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.0168, allocations: 89.08 kB / 0.7912 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.01782, allocations: 398.6 kB / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01783, allocations: 0 / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01783, allocations: 1.531 kB / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.01784, allocations: 0 / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001547/0.01939, allocations: 0.5173 MB / 0.792 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.01944, allocations: 8.031 kB / 0.792 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.01982, allocations: 66.16 kB / 0.7921 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.0204, allocations: 224.7 kB / 0.7923 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.02044, allocations: 16.69 kB / 0.7923 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.02051, allocations: 24.38 kB / 0.7924 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009487/0.02146, allocations: 374.6 kB / 0.7927 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.02148, allocations: 3.938 kB / 0.7927 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.02153, allocations: 4 kB / 0.7927 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.02154, allocations: 8 kB / 0.7927 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.02342, allocations: 0.6982 MB / 0.7934 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.02556, allocations: 0.5526 MB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.02661, allocations: 293.6 kB / 0.7942 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.02696, allocations: 101.3 kB / 0.7943 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.724e-05/0.02704, allocations: 20.7 kB / 0.7944 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007476/0.02779, allocations: 235.4 kB / 0.7946 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 2.985e-06/0.0278, allocations: 1.5 kB / 0.7946 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.001479/0.02927, allocations: 395.9 kB / 0.795 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.02943, allocations: 132.5 kB / 0.7951 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.03014, allocations: 329.8 kB / 0.7954 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/0.03022, allocations: 38.31 kB / 0.7954 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.03043, allocations: 138 kB / 0.7956 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.03064, allocations: 123 kB / 0.7957 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.03085, allocations: 69.67 kB / 0.7958 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002923/0.03114, allocations: 339.6 kB / 0.7961 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.03146, allocations: 83.95 kB / 0.7962 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.03199, allocations: 207 kB / 0.7964 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.03275, allocations: 232.7 kB / 0.7966 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.03276, allocations: 5.281 kB / 0.7966 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001056/0.03381, allocations: 301.2 kB / 0.7969 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.03385, allocations: 10.02 kB / 0.7969 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.03385, allocations: 1.062 kB / 0.7969 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.03388, allocations: 0 / 0.7969 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.03436, allocations: 63.91 kB / 0.7969 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.03437, allocations: 0.875 kB / 0.7969 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.03471, allocations: 35.77 kB / 0.797 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.03476, allocations: 12.84 kB / 0.797 GB, free: 1.672 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.0003304/0.03509, allocations: 163.9 kB / 0.7971 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.03525, allocations: 47.8 kB / 0.7972 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.0365, allocations: 388.1 kB / 0.7976 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.03651, allocations: 7.938 kB / 0.7976 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.03652, allocations: 4 kB / 0.7976 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.03653, allocations: 5.625 kB / 0.7976 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.03706, allocations: 245 kB / 0.7978 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/0.03708, allocations: 3.984 kB / 0.7978 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.03741, allocations: 51.98 kB / 0.7979 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.03742, allocations: 3.984 kB / 0.7979 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.03745, allocations: 12.44 kB / 0.7979 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.03746, allocations: 4.562 kB / 0.7979 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03746, allocations: 0 / 0.7979 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009297/0.03839, allocations: 343.4 kB / 0.7982 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.03862, allocations: 79.62 kB / 0.7983 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.03868, allocations: 8 kB / 0.7983 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.03898, allocations: 25.09 kB / 0.7983 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.0391, allocations: 27.95 kB / 0.7983 GB, free: 232 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.03914, allocations: 15.98 kB / 0.7984 GB, free: 216 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000461/0.0396, allocations: 245.8 kB / 0.7986 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0396, allocations: 0.9062 kB / 0.7986 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005691/0.04017, allocations: 87.77 kB / 0.7987 GB, free: 15.88 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002781/0.04295, allocations: 0.4941 MB / 0.7992 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007249/0.04368, allocations: 232.3 kB / 0.7994 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.04368, allocations: 0 / 0.7994 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.04405, allocations: 127.7 kB / 0.7995 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.04459, allocations: 52.47 kB / 0.7996 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.04631, allocations: 0.5794 MB / 0.8001 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.04659, allocations: 159 kB / 0.8003 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005942/0.04718, allocations: 146.9 kB / 0.8004 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.04734, allocations: 44.48 kB / 0.8005 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/0.04734, allocations: 0 / 0.8005 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.015/0.06234, allocations: 4.011 MB / 0.8044 GB, free: 10.28 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.045920107048005]