Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001433/0.001433, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001475/0.001476, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 65.42 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2865, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003132/0.2896, allocations: 1.675 MB / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2908, allocations: 0.5259 MB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.2909, allocations: 4 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.723e-05/0.2909, allocations: 3.984 kB / 0.9519 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.2913, allocations: 35.77 kB / 0.952 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.2914, allocations: 35.95 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.2916, allocations: 111.6 kB / 0.9521 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2917, allocations: 23.97 kB / 0.9521 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.2918, allocations: 43.91 kB / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.292, allocations: 55.75 kB / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.292, allocations: 8 kB / 0.9522 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.292, allocations: 11.94 kB / 0.9522 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.2921, allocations: 19.97 kB / 0.9523 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.2922, allocations: 47.8 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2923, allocations: 68.09 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2923, allocations: 0 / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2923, allocations: 0 / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2923, allocations: 0 / 0.9524 GB, free: 6.598 MB / 0.7325 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.0007662/0.2931, allocations: 403.1 kB / 0.9527 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.2932, allocations: 16.03 kB / 0.9528 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.2932, allocations: 12.78 kB / 0.9528 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2934, allocations: 184.2 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2934, allocations: 384 / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.2934, allocations: 8.312 kB / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.2936, allocations: 92.34 kB / 0.953 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2936, allocations: 0 / 0.953 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2937, allocations: 4 kB / 0.953 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2937, allocations: 0 / 0.953 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.2938, allocations: 51.91 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.2943, allocations: 344.6 kB / 0.9534 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.2946, allocations: 106.7 kB / 0.9535 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.2947, allocations: 40.84 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2948, allocations: 7.938 kB / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.295, allocations: 99.28 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.724e-06/0.295, allocations: 0 / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003372/0.2954, allocations: 141.8 kB / 0.9538 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2954, allocations: 63.39 kB / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.2955, allocations: 125.8 kB / 0.954 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2955, allocations: 25.7 kB / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2956, allocations: 108.3 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.2956, allocations: 27.56 kB / 0.9541 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.2957, allocations: 29.7 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.2958, allocations: 326.8 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.2959, allocations: 23.98 kB / 0.9545 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.2959, allocations: 31.98 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.296, allocations: 60.86 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.296, allocations: 0 / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001731/0.2962, allocations: 113.3 kB / 0.9547 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2962, allocations: 14.02 kB / 0.9547 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2963, allocations: 0 / 0.9547 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2963, allocations: 3.938 kB / 0.9547 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2964, allocations: 19.92 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2964, allocations: 4 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2965, allocations: 11.94 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.2965, allocations: 4 kB / 0.9548 GB, free: 3.922 MB / 0.7325 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 9.152e-05/0.2966, allocations: 121.8 kB / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2967, allocations: 11.91 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.2969, allocations: 150 kB / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2969, allocations: 0 / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2969, allocations: 0 / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.297, allocations: 7.938 kB / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.2971, allocations: 217.4 kB / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2972, allocations: 0 / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.2972, allocations: 16 kB / 0.9553 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2973, allocations: 0 / 0.9553 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2973, allocations: 4 kB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2973, allocations: 0 / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2973, allocations: 11.97 kB / 0.9553 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2975, allocations: 168.9 kB / 0.9554 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.2976, allocations: 81.02 kB / 0.9555 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.2976, allocations: 4 kB / 0.9555 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2977, allocations: 11.98 kB / 0.9555 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.2978, allocations: 11.98 kB / 0.9555 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.2978, allocations: 11.88 kB / 0.9555 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.724e-05/0.2979, allocations: 99.27 kB / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2979, allocations: 0 / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002099/0.2981, allocations: 24 kB / 0.9557 GB, free: 2.887 MB / 0.7325 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.0001213/0.2982, allocations: 103.2 kB / 0.9558 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.2984, allocations: 91.91 kB / 0.9559 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2984, allocations: 4 kB / 0.9559 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.2985, allocations: 55.67 kB / 0.9559 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.2987, allocations: 8 kB / 0.9559 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.2992, allocations: 264.2 kB / 0.9562 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2995, allocations: 0.7001 MB / 0.9569 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.2996, allocations: 19.42 kB / 0.9569 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.2996, allocations: 0 / 0.9569 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of Templates: time 0.003014/0.3026, allocations: 1.271 MB / 0.9581 GB, free: 320 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches