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.0009329/0.0009329, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001013/0.001013, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9015/0.9015, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.624/1.624, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.516e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002152/0.002167, allocations: 1.883 MB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003796, allocations: 1.784 MB / 0.9541 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.003884, allocations: 7.875 kB / 0.9541 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.004104, allocations: 27.8 kB / 0.9541 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.004475, allocations: 123.2 kB / 0.9542 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.004787, allocations: 169.6 kB / 0.9544 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.005036, allocations: 309.2 kB / 0.9547 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.005131, allocations: 21.28 kB / 0.9547 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.005248, allocations: 151.7 kB / 0.9549 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.005376, allocations: 91.75 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.005406, allocations: 20 kB / 0.955 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.005573, allocations: 131.8 kB / 0.9551 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.005659, allocations: 91.73 kB / 0.9552 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.005728, allocations: 87.73 kB / 0.9553 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.006079, allocations: 398.7 kB / 0.9556 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006081, allocations: 4 kB / 0.9556 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006082, allocations: 4 kB / 0.9556 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.006087, allocations: 3.938 kB / 0.9557 GB, free: 14.21 MB / 0.9167 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.000581/0.006668, allocations: 0.5212 MB / 0.9562 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.006701, allocations: 8.031 kB / 0.9562 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.006745, allocations: 62.73 kB / 0.9562 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.006848, allocations: 40.7 kB / 0.9563 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.007059, allocations: 220.8 kB / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.007075, allocations: 12.75 kB / 0.9565 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.007095, allocations: 20.38 kB / 0.9565 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.007398, allocations: 384.8 kB / 0.9569 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.007406, allocations: 0 / 0.9569 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.007422, allocations: 4 kB / 0.9569 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007428, allocations: 8 kB / 0.9569 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.007959, allocations: 0.6976 MB / 0.9576 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.00871, allocations: 0.5775 MB / 0.9581 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.009047, allocations: 293.6 kB / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.009151, allocations: 100.8 kB / 0.9585 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.009182, allocations: 15.98 kB / 0.9585 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.009423, allocations: 235.4 kB / 0.9588 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=36): time 1.734e-06/0.009425, allocations: 0 / 0.9588 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36): time 0.0004638/0.009888, allocations: 379.6 kB / 0.9591 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.009946, allocations: 140.4 kB / 0.9592 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01015, allocations: 329.8 kB / 0.9596 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.01018, allocations: 37.7 kB / 0.9596 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.01024, allocations: 141 kB / 0.9597 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.0103, allocations: 122.9 kB / 0.9598 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.01036, allocations: 69.69 kB / 0.9599 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.01044, allocations: 342.8 kB / 0.9602 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.01054, allocations: 79.95 kB / 0.9603 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.01069, allocations: 218.1 kB / 0.9605 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.01091, allocations: 221 kB / 0.9607 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01091, allocations: 0 / 0.9607 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002912/0.0112, allocations: 292.9 kB / 0.961 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01122, allocations: 8 kB / 0.961 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.01122, allocations: 4 kB / 0.961 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.01123, allocations: 0 / 0.961 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01137, allocations: 63.84 kB / 0.9611 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.01137, allocations: 4 kB / 0.9611 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.01145, allocations: 31.81 kB / 0.9611 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01146, allocations: 15.92 kB / 0.9611 GB, free: 8.285 MB / 0.9167 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.000107/0.01157, allocations: 160.6 kB / 0.9613 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.0116, allocations: 31.81 kB / 0.9613 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.012, allocations: 400.9 kB / 0.9617 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.012, allocations: 4 kB / 0.9617 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01201, allocations: 7.938 kB / 0.9617 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01201, allocations: 3.984 kB / 0.9617 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.01221, allocations: 284.5 kB / 0.962 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01221, allocations: 0 / 0.962 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.01231, allocations: 63.95 kB / 0.9621 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01231, allocations: 3.984 kB / 0.9621 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.01233, allocations: 11.98 kB / 0.9621 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01233, allocations: 0 / 0.9621 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01233, allocations: 7.938 kB / 0.9621 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.01264, allocations: 325.9 kB / 0.9624 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.01272, allocations: 75.67 kB / 0.9625 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01275, allocations: 12 kB / 0.9625 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.01283, allocations: 27.91 kB / 0.9625 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.01287, allocations: 27.89 kB / 0.9625 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01289, allocations: 12 kB / 0.9625 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001481/0.01304, allocations: 245.2 kB / 0.9628 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01304, allocations: 0 / 0.9628 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002235/0.01326, allocations: 87.8 kB / 0.9629 GB, free: 6.453 MB / 0.9167 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.0011/0.01436, allocations: 1.256 MB / 0.9641 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01464, allocations: 231.7 kB / 0.9643 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01464, allocations: 0 / 0.9643 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.01476, allocations: 127.8 kB / 0.9644 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.01496, allocations: 53.36 kB / 0.9645 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.01696, allocations: 2.618 MB / 0.967 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.105e-05/0.01705, allocations: 159 kB / 0.9672 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.01723, allocations: 142.8 kB / 0.9673 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.01737, allocations: 108.4 kB / 0.9674 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.01737, allocations: 4 kB / 0.9674 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.03918, allocations: 7.409 MB / 0.9747 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/6.879, allocations: 0 / 0.9747 GB, free: 10.52 MB / 0.9323 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/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: 10.930630889721215]