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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 115.3 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 199.2 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 64.62 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4232, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003029/0.4263, allocations: 1.602 MB / 1.264 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4273, allocations: 0.5465 MB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.4274, allocations: 0 / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.4274, allocations: 11.86 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.4277, allocations: 41.02 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.4278, allocations: 35.89 kB / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.428, allocations: 111.6 kB / 1.264 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.4281, allocations: 15.98 kB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4282, allocations: 55.89 kB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.4283, allocations: 47.83 kB / 1.264 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.4284, allocations: 11.94 kB / 1.264 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.4284, allocations: 11.94 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.4284, allocations: 15.98 kB / 1.265 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.4285, allocations: 47.77 kB / 1.265 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.4287, allocations: 95.56 kB / 1.265 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4287, allocations: 0 / 1.265 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4287, allocations: 0 / 1.265 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4287, allocations: 4 kB / 1.265 GB, free: 10.32 MB / 0.9825 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.0008384/0.4295, allocations: 407.1 kB / 1.265 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4296, allocations: 8.625 kB / 1.265 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.4296, allocations: 8.891 kB / 1.265 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.4298, allocations: 184.2 kB / 1.265 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4298, allocations: 4.375 kB / 1.265 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.4299, allocations: 8.375 kB / 1.265 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4301, allocations: 97.94 kB / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4301, allocations: 0 / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4301, allocations: 0 / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4301, allocations: 0 / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.4302, allocations: 47.97 kB / 1.265 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.4309, allocations: 344.6 kB / 1.266 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.4312, allocations: 110.6 kB / 1.266 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.4313, allocations: 44.84 kB / 1.266 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4313, allocations: 0 / 1.266 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.4317, allocations: 99.3 kB / 1.266 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.4317, allocations: 4 kB / 1.266 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004089/0.4321, allocations: 149.5 kB / 1.266 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.4321, allocations: 55.41 kB / 1.266 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4323, allocations: 121.8 kB / 1.266 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.4323, allocations: 29.7 kB / 1.266 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.4324, allocations: 96.44 kB / 1.266 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.4324, allocations: 31.75 kB / 1.266 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.4325, allocations: 25.72 kB / 1.266 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.4327, allocations: 322.8 kB / 1.267 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.4328, allocations: 31.98 kB / 1.267 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.4328, allocations: 27.98 kB / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.433, allocations: 69.78 kB / 1.267 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.433, allocations: 0 / 1.267 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002008/0.4332, allocations: 119.3 kB / 1.267 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.4332, allocations: 4 kB / 1.267 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4332, allocations: 0 / 1.267 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4332, allocations: 0 / 1.267 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.4333, allocations: 19.98 kB / 1.267 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4334, allocations: 0 / 1.267 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4335, allocations: 15.94 kB / 1.267 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.4335, allocations: 11.92 kB / 1.267 GB, free: 7.645 MB / 0.9825 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 0.0001238/0.4336, allocations: 117.8 kB / 1.267 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.4336, allocations: 7.953 kB / 1.267 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.4339, allocations: 142 kB / 1.267 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.434, allocations: 3.984 kB / 1.267 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.434, allocations: 0 / 1.267 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.434, allocations: 85.06 kB / 1.267 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.434, allocations: 7.938 kB / 1.267 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4341, allocations: 15.98 kB / 1.267 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.4342, allocations: 7.984 kB / 1.267 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003188/0.4345, allocations: 227.9 kB / 1.268 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003107/0.4348, allocations: 298.7 kB / 1.268 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.582e-05/0.4349, allocations: 43.97 kB / 1.268 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.553e-05/0.435, allocations: 104.1 kB / 1.268 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of Backend: time 6.71e-07/0.435, allocations: 0 / 1.268 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.4354, allocations: 134.6 kB / 1.268 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006585/0.4361, allocations: 0.6237 MB / 1.269 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of Templates: time 0.004553/0.4407, allocations: 1.267 MB / 1.27 GB, free: 4.477 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (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 & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) 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) Reference file matches