Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00767/0.00767, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001754/0.001754, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.83 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00278/0.2704, allocations: 1.603 MB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009556/0.2714, allocations: 0.5337 MB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.2715, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.2715, allocations: 11.86 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.2718, allocations: 39.77 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.272, allocations: 43.88 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.2721, allocations: 111.6 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2723, allocations: 19.94 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.2724, allocations: 43.89 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2725, allocations: 51.77 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.2726, allocations: 8 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.2726, allocations: 8 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.2726, allocations: 23.91 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.2727, allocations: 55.78 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.2729, allocations: 87.12 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2729, allocations: 0 / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2729, allocations: 3.938 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2729, allocations: 3.938 kB / 1.169 GB, free: 4.656 MB / 0.92 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.0007084/0.2736, allocations: 399.5 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2736, allocations: 8.031 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.2737, allocations: 42.73 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.2737, allocations: 8.844 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.2739, allocations: 188.2 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2739, allocations: 384 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.274, allocations: 12.38 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.2741, allocations: 89.7 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2741, allocations: 0 / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2742, allocations: 0 / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2742, allocations: 3.984 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.2743, allocations: 55.97 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.2748, allocations: 344.5 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.2751, allocations: 110.7 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.2752, allocations: 40.84 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.2752, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2754, allocations: 99.25 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.2754, allocations: 0 / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0003197/0.2757, allocations: 153.5 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2758, allocations: 51.41 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2759, allocations: 125.8 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2759, allocations: 25.7 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.276, allocations: 100.3 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.276, allocations: 31.69 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.2761, allocations: 29.7 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2762, allocations: 322.8 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.2762, allocations: 23.98 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.2763, allocations: 24 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.2764, allocations: 72.34 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2764, allocations: 3.938 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001767/0.2766, allocations: 113.5 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2766, allocations: 8 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2766, allocations: 3.984 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2766, allocations: 3.984 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.2768, allocations: 16 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2768, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.2769, allocations: 19.83 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.2769, allocations: 7.938 kB / 1.171 GB, free: 1.93 MB / 0.92 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.0001007/0.277, allocations: 129 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.277, allocations: 7.906 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.2773, allocations: 146 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2773, allocations: 0 / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2773, allocations: 0 / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2773, allocations: 7.938 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2775, allocations: 209.5 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2775, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.2776, allocations: 23.92 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2776, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2776, allocations: 4 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2776, allocations: 4 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2776, allocations: 0 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.2779, allocations: 164.9 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.2779, allocations: 85.02 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.278, allocations: 0 / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2781, allocations: 15.98 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.2781, allocations: 11.92 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2781, allocations: 8 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.2782, allocations: 99.27 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2782, allocations: 0 / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001999/0.2784, allocations: 24 kB / 1.172 GB, free: 0.9102 MB / 0.92 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.0005652/0.279, allocations: 0.7096 MB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.2792, allocations: 83.91 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2792, allocations: 7.938 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.2793, allocations: 47.92 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.2794, allocations: 11.94 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.2809, allocations: 1.46 MB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.2812, allocations: 0.6924 MB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.663e-05/0.2813, allocations: 20.53 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.2814, allocations: 35.05 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.2814, allocations: 4 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2296/0.5109, allocations: 2.293 MB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.532, allocations: 10.14 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches