Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001459/0.001459, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001887/0.001887, allocations: 161.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.476/1.476, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.961/2.961, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.643e-05, allocations: 10.22 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003266/0.003293, allocations: 1.883 MB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002749/0.006042, allocations: 1.776 MB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.006121, allocations: 4 kB / 1.004 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.006342, allocations: 43.58 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.006777, allocations: 115.3 kB / 1.004 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.007219, allocations: 179 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.007596, allocations: 309.2 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.007698, allocations: 21.23 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.007883, allocations: 147.8 kB / 1.005 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.008077, allocations: 91.8 kB / 1.005 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.008122, allocations: 20 kB / 1.005 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.008352, allocations: 123.8 kB / 1.005 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.00847, allocations: 95.72 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.008587, allocations: 87.75 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.009104, allocations: 402.7 kB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.00911, allocations: 4 kB / 1.005 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.72e-07/0.009111, allocations: 0 / 1.005 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.009116, allocations: 0 / 1.005 GB, free: 1.996 MB / 0.9512 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.0009021/0.01002, allocations: 0.525 MB / 1.006 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01005, allocations: 8.031 kB / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.01021, allocations: 32.75 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.01056, allocations: 224.8 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.01058, allocations: 12.75 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.01061, allocations: 20.38 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.01112, allocations: 377.4 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01113, allocations: 11.81 kB / 1.006 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.01116, allocations: 4 kB / 1.006 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.01116, allocations: 4 kB / 1.006 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009759/0.01214, allocations: 0.7015 MB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.01329, allocations: 0.5467 MB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.01385, allocations: 298.3 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.01403, allocations: 100.8 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.01407, allocations: 15.98 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.01451, allocations: 239.7 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.01451, allocations: 0 / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36): time 0.0007638/0.01527, allocations: 381.1 kB / 1.009 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.01538, allocations: 140.4 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.01575, allocations: 325.8 kB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.01579, allocations: 29.7 kB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01591, allocations: 145 kB / 1.009 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.01602, allocations: 123 kB / 1.009 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.01613, allocations: 69.69 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.01631, allocations: 338.8 kB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.01648, allocations: 87.95 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.01675, allocations: 212.4 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.01713, allocations: 218.7 kB / 1.01 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01714, allocations: 0 / 1.01 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005188/0.01766, allocations: 297.5 kB / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01767, allocations: 4 kB / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01767, allocations: 0 / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.01769, allocations: 4 kB / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.01793, allocations: 63.91 kB / 1.011 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01794, allocations: 4 kB / 1.011 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.01811, allocations: 35.42 kB / 1.011 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.01814, allocations: 19.98 kB / 1.011 GB, free: 12.18 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: 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.0001798/0.01832, allocations: 161.8 kB / 1.011 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.01838, allocations: 27.81 kB / 1.011 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/0.01915, allocations: 390 kB / 1.011 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.01915, allocations: 8.031 kB / 1.011 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01916, allocations: 0 / 1.011 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.01917, allocations: 7.922 kB / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.01948, allocations: 241.1 kB / 1.011 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01948, allocations: 3.938 kB / 1.011 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.01969, allocations: 71.91 kB / 1.012 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01969, allocations: 0 / 1.012 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.01972, allocations: 8 kB / 1.012 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01972, allocations: 4 kB / 1.012 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.01972, allocations: 3.984 kB / 1.012 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.02027, allocations: 338 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.02041, allocations: 71.62 kB / 1.012 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.02047, allocations: 11.98 kB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.02067, allocations: 19.98 kB / 1.012 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.02074, allocations: 31.95 kB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.02077, allocations: 15.98 kB / 1.012 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002645/0.02103, allocations: 253.1 kB / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02103, allocations: 0 / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003465/0.02138, allocations: 83.8 kB / 1.012 GB, free: 10.41 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: 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.001719/0.0231, allocations: 488.8 kB / 1.013 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004528/0.02355, allocations: 235.4 kB / 1.013 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02355, allocations: 0 / 1.013 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.02377, allocations: 123.8 kB / 1.013 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.02407, allocations: 40.38 kB / 1.013 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.02498, allocations: 0.543 MB / 1.014 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.02514, allocations: 159 kB / 1.014 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.02548, allocations: 150.8 kB / 1.014 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.02558, allocations: 48.47 kB / 1.014 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.02559, allocations: 0 / 1.014 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of Templates: time 0.009074/0.03466, allocations: 3.858 MB / 1.018 GB, free: 4.969 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.333809796720743]