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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001237/0.001238, allocations: 105 kB / 16.35 MB, free: 5.824 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.001216/0.001216, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.88 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2891, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003028/0.2922, allocations: 1.594 MB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.2931, allocations: 0.5415 MB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.2932, allocations: 0 / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.2933, allocations: 7.922 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.2936, allocations: 51.44 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.2937, allocations: 43.89 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2939, allocations: 115.5 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.294, allocations: 12 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2941, allocations: 43.91 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2942, allocations: 51.75 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.2943, allocations: 8 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/0.2943, allocations: 12 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.2943, allocations: 19.98 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.2944, allocations: 55.7 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2946, allocations: 91.62 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2946, allocations: 3.938 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2946, allocations: 0 / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2946, allocations: 0 / 0.9537 GB, free: 5.395 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.0007759/0.2954, allocations: 403.1 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2954, allocations: 12.03 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.2955, allocations: 8.844 kB / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.2956, allocations: 180.2 kB / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2957, allocations: 8.375 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2957, allocations: 4.375 kB / 0.9543 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2959, allocations: 92.42 kB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2959, allocations: 0 / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2959, allocations: 8 kB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.296, allocations: 4 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.2961, allocations: 47.91 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.2966, allocations: 348.6 kB / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.2969, allocations: 98.73 kB / 0.9549 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.297, allocations: 48.84 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.297, allocations: 0 / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.2973, allocations: 99.28 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.2973, allocations: 3.938 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003314/0.2976, allocations: 145.5 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2976, allocations: 51.41 kB / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.2978, allocations: 121.8 kB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2978, allocations: 37.64 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.2978, allocations: 100.3 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.2979, allocations: 31.55 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.2979, allocations: 29.7 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.298, allocations: 318.8 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.2981, allocations: 27.98 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.2982, allocations: 39.92 kB / 0.9559 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2983, allocations: 60.84 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2983, allocations: 8 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001734/0.2985, allocations: 105.6 kB / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2985, allocations: 6.031 kB / 0.956 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2985, allocations: 0 / 0.956 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2985, allocations: 4 kB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2986, allocations: 19.92 kB / 0.9561 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2986, allocations: 0 / 0.9561 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2987, allocations: 19.86 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2988, allocations: 4 kB / 0.9561 GB, free: 2.723 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 8.881e-05/0.2989, allocations: 118.7 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.2989, allocations: 7.906 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.2992, allocations: 153.9 kB / 0.9564 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2992, allocations: 0 / 0.9564 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2992, allocations: 0 / 0.9564 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2992, allocations: 3.938 kB / 0.9564 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2994, allocations: 217.4 kB / 0.9566 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2994, allocations: 3.984 kB / 0.9566 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.2995, allocations: 15.98 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2995, allocations: 8 kB / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2995, allocations: 4 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2995, allocations: 0 / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2995, allocations: 0 / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.2997, allocations: 168.8 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2998, allocations: 85.02 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.2998, allocations: 7.984 kB / 0.9568 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.2999, allocations: 8 kB / 0.9569 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.3, allocations: 15.98 kB / 0.9569 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3, allocations: 15.92 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.3001, allocations: 107.1 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3001, allocations: 0 / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002185/0.3003, allocations: 20 kB / 0.957 GB, free: 1.68 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.0001464/0.3005, allocations: 103.2 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3007, allocations: 83.91 kB / 0.9572 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3007, allocations: 4 kB / 0.9572 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.3008, allocations: 47.92 kB / 0.9572 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.3009, allocations: 13.11 kB / 0.9572 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.3014, allocations: 202.6 kB / 0.9574 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3017, allocations: 0.6963 MB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.3017, allocations: 16.55 kB / 0.9581 GB, free: 468 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.3018, allocations: 19.42 kB / 0.9582 GB, free: 452 kB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3018, allocations: 0 / 0.9582 GB, free: 452 kB / 0.7325 GB Notification: Performance of Templates: time 0.003504/0.3053, allocations: 1.084 MB / 0.9592 GB, free: 15.36 MB / 0.7481 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 -s gbode -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