Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001432/0.001432, allocations: 109 kB / 17.54 MB, free: 4.746 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.001421/0.001421, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.477/2.477, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 71.89 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.747, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002112/0.7491, allocations: 1.626 MB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.7498, allocations: 0.5575 MB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.7498, allocations: 0.9375 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.7499, allocations: 10.17 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.7501, allocations: 37.38 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.696e-05/0.7502, allocations: 46.41 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.7503, allocations: 110.6 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.7504, allocations: 15.86 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.7505, allocations: 46.56 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.7506, allocations: 57.47 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.7506, allocations: 7.469 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.7506, allocations: 8.812 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.7506, allocations: 20.12 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.7507, allocations: 42.84 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.7508, allocations: 100.8 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7508, allocations: 0 / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7508, allocations: 0 / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7508, allocations: 1.031 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005398/0.7513, allocations: 400.8 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.7514, allocations: 9.531 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.491e-05/0.7514, allocations: 42.11 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.7514, allocations: 8.266 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.119e-05/0.7515, allocations: 190.9 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.7515, allocations: 3.375 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.7515, allocations: 4.969 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.7517, allocations: 90.86 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7517, allocations: 0 / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.7517, allocations: 0.875 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7517, allocations: 1.781 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.7518, allocations: 48.59 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.7522, allocations: 351.9 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.7524, allocations: 95.77 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.603e-05/0.7525, allocations: 43.62 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.7525, allocations: 0.875 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.7526, allocations: 102.3 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.7526, allocations: 0 / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0002719/0.7529, allocations: 145.4 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.7529, allocations: 57 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.753, allocations: 128.9 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.753, allocations: 29.05 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.753, allocations: 93.84 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.7531, allocations: 42.06 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.7531, allocations: 39.56 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.7531, allocations: 320.2 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.7532, allocations: 25.94 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.7532, allocations: 26.83 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.699e-05/0.7533, allocations: 67 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7533, allocations: 0 / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001508/0.7535, allocations: 111.3 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.7535, allocations: 5.656 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.7535, allocations: 4 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.7535, allocations: 0.6562 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.7536, allocations: 19 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.7536, allocations: 0.875 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.7537, allocations: 18.59 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.7537, allocations: 4.703 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.241e-05/0.7538, allocations: 115.3 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.7538, allocations: 7.422 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.754, allocations: 156.8 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.754, allocations: 1.656 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.754, allocations: 0.6562 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.754, allocations: 4.875 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.7541, allocations: 213.4 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7541, allocations: 0.625 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.7542, allocations: 14.73 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7542, allocations: 6.594 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.7542, allocations: 1.688 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7542, allocations: 4.719 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7542, allocations: 4 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.7544, allocations: 170.6 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.7544, allocations: 90.31 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.7545, allocations: 1.75 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.7546, allocations: 13.8 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.7546, allocations: 14.89 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.7546, allocations: 9.859 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.7547, allocations: 102 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7547, allocations: 0 / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001918/0.7549, allocations: 23.22 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0003345/0.7552, allocations: 0.6957 MB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.7554, allocations: 89.38 kB / 1.278 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.7554, allocations: 0 / 1.278 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.7554, allocations: 42.78 kB / 1.278 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.7556, allocations: 14.16 kB / 1.278 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.7566, allocations: 1.474 MB / 1.28 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.7569, allocations: 0.7008 MB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.765e-05/0.7569, allocations: 12.06 kB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.757, allocations: 35 kB / 1.28 GB, free: 16.49 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.757, allocations: 0 / 1.28 GB, free: 16.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.779, allocations: 2.293 MB / 1.283 GB, free: 16.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.775, allocations: 3.625 kB / 1.283 GB, free: 16.06 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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: 12.989899938000235]