Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437.8 MB / 0.7128 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 11.94 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9277/0.9282, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008462/0.9367, allocations: 6.449 MB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1906/1.127, allocations: 147.4 MB / 1.174 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/1.129, allocations: 15.94 kB / 1.174 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/1.13, allocations: 194.4 kB / 1.174 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003206/1.133, allocations: 0.6935 MB / 1.175 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/1.136, allocations: 0.8628 MB / 1.176 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002922/1.139, allocations: 2.007 MB / 1.178 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/1.14, allocations: 0.9556 MB / 1.179 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/1.141, allocations: 0.5831 MB / 1.179 GB, free: 80 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/1.142, allocations: 0.6488 MB / 1.18 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/1.143, allocations: 43.94 kB / 1.18 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/1.144, allocations: 383.6 kB / 1.18 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002999/1.144, allocations: 282.6 kB / 1.18 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007436/1.145, allocations: 0.7549 MB / 1.181 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/1.147, allocations: 1.855 MB / 1.183 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.147, allocations: 4 kB / 1.183 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.615e-06/1.147, allocations: 0 / 1.183 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.988e-05/1.147, allocations: 0 / 1.183 GB, free: 12.1 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003575/1.15, allocations: 1.715 MB / 1.185 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.15, allocations: 15.98 kB / 1.185 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/1.152, allocations: 266.5 kB / 1.185 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/1.153, allocations: 0.9732 MB / 1.186 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.153, allocations: 123 kB / 1.186 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/1.153, allocations: 152 kB / 1.186 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/1.156, allocations: 1.584 MB / 1.188 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.156, allocations: 0 / 1.188 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/1.156, allocations: 64 kB / 1.188 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/1.156, allocations: 40 kB / 1.188 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/1.159, allocations: 1.647 MB / 1.189 GB, free: 5.371 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007035/1.166, allocations: 4.616 MB / 1.194 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/1.168, allocations: 1.196 MB / 1.195 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/1.169, allocations: 487.7 kB / 1.195 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/1.169, allocations: 52.86 kB / 1.196 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/1.17, allocations: 0.7871 MB / 1.196 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.605e-06/1.17, allocations: 0 / 1.196 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004444/1.174, allocations: 1.853 MB / 1.198 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.175, allocations: 201.2 kB / 1.198 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.176, allocations: 0.8731 MB / 1.199 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.176, allocations: 53.7 kB / 1.199 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/1.176, allocations: 0.6014 MB / 1.2 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/1.177, allocations: 410.1 kB / 1.2 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.177, allocations: 105.7 kB / 1.2 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.177, allocations: 349.9 kB / 1.201 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008125/1.178, allocations: 454.4 kB / 1.201 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/1.179, allocations: 0.5727 MB / 1.202 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.181, allocations: 0.9935 MB / 1.203 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.181, allocations: 0 / 1.203 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002847/1.184, allocations: 1.355 MB / 1.204 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.184, allocations: 4 kB / 1.204 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.184, allocations: 4.062 kB / 1.204 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/1.184, allocations: 84.77 kB / 1.204 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.185, allocations: 271.6 kB / 1.204 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/1.188, allocations: 1.551 MB / 1.206 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.189, allocations: 174.7 kB / 1.206 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.189, allocations: 59.94 kB / 1.206 GB, free: 3.797 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00081/1.19, allocations: 346.1 kB / 1.206 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/1.19, allocations: 114.6 kB / 1.206 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/1.194, allocations: 1.725 MB / 1.208 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.194, allocations: 16 kB / 1.208 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.194, allocations: 4 kB / 1.208 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.194, allocations: 7.969 kB / 1.208 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/1.195, allocations: 1.397 MB / 1.21 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.195, allocations: 0 / 1.21 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009107/1.196, allocations: 227.6 kB / 1.21 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005269/1.197, allocations: 84.72 kB / 1.21 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.213e-05/1.197, allocations: 43.95 kB / 1.21 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/1.199, allocations: 1.559 MB / 1.211 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.199, allocations: 0 / 1.211 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/1.202, allocations: 1.418 MB / 1.213 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/1.203, allocations: 406.9 kB / 1.213 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/1.203, allocations: 31.98 kB / 1.213 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009719/1.204, allocations: 118.1 kB / 1.213 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/1.204, allocations: 117.1 kB / 1.213 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.204, allocations: 51.97 kB / 1.213 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009831/1.205, allocations: 0.6425 MB / 1.214 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.205, allocations: 4 kB / 1.214 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001408/1.207, allocations: 494.6 kB / 1.215 GB, free: 10.77 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/1.208, allocations: 0.6224 MB / 1.215 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002782/1.211, allocations: 1.279 MB / 1.216 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.211, allocations: 0 / 1.216 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.213, allocations: 0.7403 MB / 1.217 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/1.214, allocations: 325.2 kB / 1.217 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/1.219, allocations: 3.354 MB / 1.221 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/1.22, allocations: 1.233 MB / 1.222 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/1.221, allocations: 171.3 kB / 1.222 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/1.221, allocations: 0 / 1.222 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of Templates: time 0.04744/1.268, allocations: 27.63 MB / 1.249 GB, free: 7.609 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches