Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 187.3 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 223.2 MB / 0.7949 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 106.5 kB / 0.9346 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 9.891 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 142.3 MB / 1.223 GB, free: 89.65 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.5501, allocations: 156.4 MB / 1.376 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/0.5505, allocations: 87.95 kB / 1.376 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0567/0.6072, allocations: 18.47 MB / 1.394 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6073, allocations: 0 / 1.394 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.912e-05/0.6074, allocations: 12 kB / 1.394 GB, free: 10.45 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001831/0.6092, allocations: 0.8883 MB / 1.395 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6093, allocations: 8.031 kB / 1.395 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.6094, allocations: 75.09 kB / 1.395 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.6112, allocations: 0.7635 MB / 1.395 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.6113, allocations: 49.31 kB / 1.395 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/0.6114, allocations: 60 kB / 1.395 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6127, allocations: 0.6615 MB / 1.396 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.6127, allocations: 0 / 1.396 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.6128, allocations: 24 kB / 1.396 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.6128, allocations: 20 kB / 1.396 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.6139, allocations: 0.5304 MB / 1.397 GB, free: 7.266 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.6173, allocations: 1.998 MB / 1.399 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/0.6208, allocations: 0.8961 MB / 1.4 GB, free: 4.27 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.6209, allocations: 25.19 kB / 1.4 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.6209, allocations: 46.56 kB / 1.4 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 4.028e-06/0.6209, allocations: 0 / 1.4 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72): time 0.001746/0.6227, allocations: 0.7684 MB / 1.4 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.6228, allocations: 140.4 kB / 1.4 GB, free: 3.254 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.6233, allocations: 336.9 kB / 1.401 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.6233, allocations: 41.64 kB / 1.401 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.6236, allocations: 236.8 kB / 1.401 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.6238, allocations: 244.4 kB / 1.401 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.6238, allocations: 12 kB / 1.401 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.624, allocations: 358.7 kB / 1.402 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.6244, allocations: 185.2 kB / 1.402 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.6249, allocations: 253.9 kB / 1.402 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.6253, allocations: 211.7 kB / 1.402 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6254, allocations: 4 kB / 1.402 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001096/0.6265, allocations: 0.5825 MB / 1.403 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.6265, allocations: 4 kB / 1.403 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6265, allocations: 3.938 kB / 1.403 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6265, allocations: 8 kB / 1.403 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.6272, allocations: 135.8 kB / 1.403 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.6272, allocations: 7.938 kB / 1.403 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.6278, allocations: 79.28 kB / 1.403 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/0.6279, allocations: 35.95 kB / 1.403 GB, free: 0.5195 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (proShaLenNor.solAzi.outsidePolarCircle,proShaLenWes.solAzi.outsidePolarCircle,proShaLenSou.solAzi.outsidePolarCircle,proShaLenEas.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003205/0.6282, allocations: 190.6 kB / 1.403 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.6283, allocations: 59.33 kB / 1.403 GB, free: 272 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7641/1.392, allocations: 0.974 MB / 1.404 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.393, allocations: 11.84 kB / 1.404 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.393, allocations: 1.625 kB / 1.404 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.393, allocations: 8.594 kB / 1.404 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/1.394, allocations: 0.7512 MB / 1.405 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/1.394, allocations: 3.344 kB / 1.405 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008852/1.395, allocations: 191.8 kB / 1.405 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/1.395, allocations: 4.562 kB / 1.405 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/1.395, allocations: 26.08 kB / 1.405 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/1.395, allocations: 7.031 kB / 1.405 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.395, allocations: 2.547 kB / 1.405 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/1.397, allocations: 1.119 MB / 1.406 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/1.397, allocations: 241.6 kB / 1.407 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/1.398, allocations: 19.5 kB / 1.407 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/1.398, allocations: 33.14 kB / 1.407 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.398, allocations: 68.08 kB / 1.407 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/1.398, allocations: 36.81 kB / 1.407 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004073/1.399, allocations: 283.6 kB / 1.407 GB, free: 167 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.399, allocations: 0 / 1.407 GB, free: 167 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001094/1.4, allocations: 235.4 kB / 1.407 GB, free: 167 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008521/1.401, allocations: 315.9 kB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001475/1.402, allocations: 0.5782 MB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.402, allocations: 0.5312 kB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/1.403, allocations: 400.1 kB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/1.403, allocations: 46.28 kB / 1.409 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/1.406, allocations: 1.514 MB / 1.41 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/1.407, allocations: 0.9374 MB / 1.411 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005585/1.407, allocations: 124 kB / 1.411 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/1.408, allocations: 88.17 kB / 1.411 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of SimCode: time 2.084e-06/1.408, allocations: 0 / 1.411 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.01982/1.428, allocations: 6.865 MB / 1.418 GB, free: 165 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches