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.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: 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.001852/0.001852, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00192/0.001921, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.402/2.402, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 60.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8366, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008458/0.8451, allocations: 6.967 MB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.169/1.014, allocations: 151.3 MB / 1.322 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/1.016, allocations: 27.88 kB / 1.322 GB, free: 4.977 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/1.017, allocations: 261.4 kB / 1.322 GB, free: 4.719 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003478/1.02, allocations: 0.8093 MB / 1.323 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/1.023, allocations: 0.994 MB / 1.324 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003222/1.027, allocations: 2.148 MB / 1.326 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/1.028, allocations: 1.026 MB / 1.327 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/1.03, allocations: 0.8409 MB / 1.328 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/1.031, allocations: 0.9025 MB / 1.329 GB, free: 13.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005932/1.032, allocations: 212 kB / 1.329 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/1.034, allocations: 0.566 MB / 1.329 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006955/1.034, allocations: 486.4 kB / 1.33 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/1.036, allocations: 0.9524 MB / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004021/1.04, allocations: 2.564 MB / 1.333 GB, free: 9.164 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.04, allocations: 0 / 1.333 GB, free: 9.164 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.04, allocations: 0 / 1.333 GB, free: 9.164 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.107e-05/1.04, allocations: 0 / 1.333 GB, free: 9.164 MB / 1.061 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.005621/1.046, allocations: 2.066 MB / 1.335 GB, free: 7.031 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.046, allocations: 12.88 kB / 1.335 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.047, allocations: 258.6 kB / 1.336 GB, free: 6.766 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/1.049, allocations: 0.9926 MB / 1.337 GB, free: 5.727 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.049, allocations: 115.1 kB / 1.337 GB, free: 5.613 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/1.05, allocations: 148 kB / 1.337 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/1.053, allocations: 1.588 MB / 1.338 GB, free: 3.824 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/1.053, allocations: 0 / 1.338 GB, free: 3.824 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.053, allocations: 67.94 kB / 1.338 GB, free: 3.758 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/1.053, allocations: 36 kB / 1.338 GB, free: 3.723 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/1.056, allocations: 1.643 MB / 1.34 GB, free: 2.074 MB / 1.061 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.008043/1.064, allocations: 4.524 MB / 1.344 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/1.066, allocations: 1.189 MB / 1.346 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/1.067, allocations: 479.7 kB / 1.346 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/1.067, allocations: 48.98 kB / 1.346 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.069, allocations: 0.7783 MB / 1.347 GB, free: 10.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/1.069, allocations: 0 / 1.347 GB, free: 10.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=128): time 0.004709/1.074, allocations: 1.842 MB / 1.349 GB, free: 8.996 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.074, allocations: 201.2 kB / 1.349 GB, free: 8.758 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.075, allocations: 0.8693 MB / 1.35 GB, free: 7.863 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/1.075, allocations: 53.7 kB / 1.35 GB, free: 7.805 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005909/1.076, allocations: 0.6014 MB / 1.35 GB, free: 7.191 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/1.076, allocations: 414.1 kB / 1.351 GB, free: 6.781 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/1.077, allocations: 254.7 kB / 1.351 GB, free: 6.523 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.077, allocations: 353.9 kB / 1.351 GB, free: 6.172 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/1.078, allocations: 454.4 kB / 1.352 GB, free: 5.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.079, allocations: 0.561 MB / 1.352 GB, free: 5.152 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/1.081, allocations: 0.9896 MB / 1.353 GB, free: 4.156 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.081, allocations: 0 / 1.353 GB, free: 4.156 MB / 1.076 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003075/1.084, allocations: 1.352 MB / 1.355 GB, free: 2.793 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.084, allocations: 7.938 kB / 1.355 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.084, allocations: 0 / 1.355 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/1.085, allocations: 88.83 kB / 1.355 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.086, allocations: 263.6 kB / 1.355 GB, free: 2.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/1.088, allocations: 1.646 MB / 1.357 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.089, allocations: 153.1 kB / 1.357 GB, free: 0.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.09, allocations: 59.95 kB / 1.357 GB, free: 452 kB / 1.076 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.000821/1.09, allocations: 349.7 kB / 1.357 GB, free: 92 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/1.091, allocations: 115 kB / 1.357 GB, free: 15.97 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/1.095, allocations: 1.705 MB / 1.359 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.095, allocations: 12 kB / 1.359 GB, free: 14.24 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.095, allocations: 4 kB / 1.359 GB, free: 14.24 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.095, allocations: 15.91 kB / 1.359 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/1.097, allocations: 1.401 MB / 1.36 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.097, allocations: 0 / 1.36 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000992/1.098, allocations: 219.7 kB / 1.36 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/1.099, allocations: 68.8 kB / 1.361 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.099, allocations: 43.95 kB / 1.361 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/1.101, allocations: 1.674 MB / 1.362 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.101, allocations: 4.062 kB / 1.362 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/1.104, allocations: 1.41 MB / 1.364 GB, free: 9.191 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007624/1.105, allocations: 367.2 kB / 1.364 GB, free: 8.812 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.105, allocations: 43.83 kB / 1.364 GB, free: 8.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.106, allocations: 87.91 kB / 1.364 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.106, allocations: 109.2 kB / 1.364 GB, free: 8.574 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.107, allocations: 51.95 kB / 1.364 GB, free: 8.523 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001127/1.108, allocations: 0.6464 MB / 1.365 GB, free: 7.867 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.108, allocations: 0 / 1.365 GB, free: 7.867 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001427/1.109, allocations: 494.6 kB / 1.365 GB, free: 7.383 MB / 1.092 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.001592/1.111, allocations: 0.6302 MB / 1.366 GB, free: 6.918 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002823/1.114, allocations: 1.283 MB / 1.367 GB, free: 5.621 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.114, allocations: 0 / 1.367 GB, free: 5.621 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.115, allocations: 0.7403 MB / 1.368 GB, free: 4.871 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.117, allocations: 351.1 kB / 1.368 GB, free: 4.547 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/1.122, allocations: 2.588 MB / 1.371 GB, free: 1.914 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.123, allocations: 1.232 MB / 1.372 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/1.124, allocations: 179.3 kB / 1.372 GB, free: 480 kB / 1.092 GB Notification: Performance of SimCode: time 7.31e-07/1.124, allocations: 0 / 1.372 GB, free: 480 kB / 1.092 GB Notification: Performance of Templates: time 0.04105/1.165, allocations: 28 MB / 1.399 GB, free: 4.52 MB / 1.123 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