Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.203/2.203, allocations: 390.5 MB / 398 MB, free: 10.95 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.0009896/0.0009896, allocations: 183.6 kB / 491.2 MB, free: 1.598 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.521/1.521, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009056/0.0009056, allocations: 103.4 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.493e-05, allocations: 5.484 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2794, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/5.131, allocations: 1.731 GB / 2.943 GB, free: 134.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/5.131, allocations: 92.72 kB / 2.943 GB, free: 134.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.129/5.26, allocations: 58.39 MB / 3 GB, free: 75.51 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.144e-06/5.26, allocations: 0 / 3 GB, free: 75.51 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001009/5.26, allocations: 24 kB / 3 GB, free: 75.49 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002096/5.262, allocations: 1.064 MB / 3.001 GB, free: 74.38 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/5.262, allocations: 8.031 kB / 3.001 GB, free: 74.37 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008792/5.263, allocations: 182.6 kB / 3.001 GB, free: 74.19 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/5.264, allocations: 0.6114 MB / 3.002 GB, free: 73.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/5.264, allocations: 27.98 kB / 3.002 GB, free: 73.51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/5.264, allocations: 44 kB / 3.002 GB, free: 73.46 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/5.266, allocations: 0.9835 MB / 3.003 GB, free: 72.48 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/5.267, allocations: 0.7156 MB / 3.004 GB, free: 71.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/5.267, allocations: 7.953 kB / 3.004 GB, free: 71.72 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/5.267, allocations: 0 / 3.004 GB, free: 71.72 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/5.267, allocations: 20 kB / 3.004 GB, free: 71.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/5.27, allocations: 2.266 MB / 3.006 GB, free: 69.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008988/5.271, allocations: 0.715 MB / 3.007 GB, free: 68.63 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/5.271, allocations: 238.5 kB / 3.007 GB, free: 68.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.068e-05/5.271, allocations: 36.58 kB / 3.007 GB, free: 68.36 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005188/5.272, allocations: 384.6 kB / 3.007 GB, free: 67.97 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/5.272, allocations: 0 / 3.007 GB, free: 67.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.00141/5.273, allocations: 0.6446 MB / 3.008 GB, free: 67.31 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/5.273, allocations: 240.1 kB / 3.008 GB, free: 67.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/5.274, allocations: 498.3 kB / 3.009 GB, free: 66.53 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/5.274, allocations: 29.7 kB / 3.009 GB, free: 66.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/5.274, allocations: 368.2 kB / 3.009 GB, free: 66.13 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/5.274, allocations: 236.5 kB / 3.009 GB, free: 65.89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/5.274, allocations: 0 / 3.009 GB, free: 65.89 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001056/5.274, allocations: 378.8 kB / 3.01 GB, free: 65.52 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/5.275, allocations: 177.5 kB / 3.01 GB, free: 65.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/5.275, allocations: 283.5 kB / 3.01 GB, free: 65.04 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/5.275, allocations: 240.3 kB / 3.01 GB, free: 64.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/5.275, allocations: 0 / 3.01 GB, free: 64.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001175/5.276, allocations: 0.6446 MB / 3.011 GB, free: 64.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/5.276, allocations: 9.25 kB / 3.011 GB, free: 64.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/5.276, allocations: 0 / 3.011 GB, free: 64.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/5.277, allocations: 84.83 kB / 3.011 GB, free: 64.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/5.278, allocations: 135.8 kB / 3.011 GB, free: 63.92 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/5.279, allocations: 1.453 MB / 3.013 GB, free: 62.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/5.28, allocations: 63.52 kB / 3.013 GB, free: 62.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/5.28, allocations: 23.98 kB / 3.013 GB, free: 62.25 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001566/5.28, allocations: 120.9 kB / 3.013 GB, free: 62.13 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/5.28, allocations: 79.16 kB / 3.013 GB, free: 62.05 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/5.282, allocations: 0.9025 MB / 3.014 GB, free: 61.13 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/5.282, allocations: 12 kB / 3.014 GB, free: 61.12 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/5.282, allocations: 4 kB / 3.014 GB, free: 61.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/5.282, allocations: 7.969 kB / 3.014 GB, free: 61.11 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/5.284, allocations: 1.683 MB / 3.015 GB, free: 59.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/5.284, allocations: 4 kB / 3.015 GB, free: 59.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/5.285, allocations: 147.8 kB / 3.015 GB, free: 59.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/5.285, allocations: 84.73 kB / 3.016 GB, free: 59.14 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/5.285, allocations: 11.98 kB / 3.016 GB, free: 59.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/5.287, allocations: 1.477 MB / 3.017 GB, free: 57.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.287, allocations: 4.062 kB / 3.017 GB, free: 57.54 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/5.288, allocations: 0.8143 MB / 3.018 GB, free: 56.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/5.288, allocations: 279.8 kB / 3.018 GB, free: 56.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/5.288, allocations: 4 kB / 3.018 GB, free: 56.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/5.289, allocations: 51.94 kB / 3.018 GB, free: 56.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/5.289, allocations: 60.7 kB / 3.018 GB, free: 56.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/5.289, allocations: 35.97 kB / 3.018 GB, free: 56.26 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004397/5.29, allocations: 398.9 kB / 3.019 GB, free: 55.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/5.29, allocations: 0 / 3.019 GB, free: 55.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001193/5.291, allocations: 323 kB / 3.019 GB, free: 55.55 MB / 1.151 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/5.293, allocations: 1.1 MB / 3.02 GB, free: 54.55 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001144/5.294, allocations: 0.6316 MB / 3.021 GB, free: 53.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/5.294, allocations: 4 kB / 3.021 GB, free: 53.91 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/5.295, allocations: 448.7 kB / 3.021 GB, free: 53.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/5.296, allocations: 214.5 kB / 3.021 GB, free: 53.26 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/5.299, allocations: 1.282 MB / 3.022 GB, free: 51.95 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/5.299, allocations: 1.027 MB / 3.024 GB, free: 50.89 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007904/5.3, allocations: 249.7 kB / 3.024 GB, free: 50.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/5.3, allocations: 95.39 kB / 3.024 GB, free: 50.55 MB / 1.151 GB Notification: Performance of SimCode: time 1.212e-06/5.3, allocations: 0 / 3.024 GB, free: 50.55 MB / 1.151 GB Notification: Performance of Templates: time 0.02551/5.326, allocations: 15.46 MB / 3.039 GB, free: 35.21 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches