Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 107.1 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.001167/0.001167, 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.305/2.305, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6668, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006746/0.6736, allocations: 5.368 MB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.8115, allocations: 150.8 MB / 1.373 GB, free: 5.609 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.8124, allocations: 19.88 kB / 1.373 GB, free: 5.59 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.8132, allocations: 206.1 kB / 1.374 GB, free: 5.387 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.8152, allocations: 0.6241 MB / 1.374 GB, free: 4.766 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.8172, allocations: 0.8916 MB / 1.375 GB, free: 3.879 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.8188, allocations: 1.565 MB / 1.377 GB, free: 2.309 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009076/0.8198, allocations: 0.672 MB / 1.377 GB, free: 1.613 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007497/0.8205, allocations: 0.5606 MB / 1.378 GB, free: 1.051 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.8211, allocations: 0.5951 MB / 1.378 GB, free: 464 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.8213, allocations: 136 kB / 1.378 GB, free: 328 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008234/0.8221, allocations: 0.5152 MB / 1.379 GB, free: 15.8 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.8224, allocations: 342.9 kB / 1.379 GB, free: 15.47 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.8228, allocations: 0.6452 MB / 1.38 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.8244, allocations: 1.855 MB / 1.382 GB, free: 12.96 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8244, allocations: 3.938 kB / 1.382 GB, free: 12.96 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8244, allocations: 0 / 1.382 GB, free: 12.96 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.8245, allocations: 0 / 1.382 GB, free: 12.96 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002316/0.8268, allocations: 1.589 MB / 1.383 GB, free: 11.31 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.8268, allocations: 8.625 kB / 1.383 GB, free: 11.3 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.8277, allocations: 199.2 kB / 1.384 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.8287, allocations: 0.8208 MB / 1.384 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.8288, allocations: 78.02 kB / 1.384 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.8289, allocations: 92 kB / 1.384 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.8305, allocations: 1.067 MB / 1.386 GB, free: 8.941 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.8305, allocations: 4 kB / 1.386 GB, free: 8.938 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.8306, allocations: 40 kB / 1.386 GB, free: 8.898 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.8306, allocations: 24 kB / 1.386 GB, free: 8.875 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.8323, allocations: 1.221 MB / 1.387 GB, free: 7.652 MB / 1.107 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.003917/0.8362, allocations: 3.16 MB / 1.39 GB, free: 4.359 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.8377, allocations: 0.8937 MB / 1.391 GB, free: 3.461 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.8382, allocations: 351.6 kB / 1.391 GB, free: 3.117 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.8383, allocations: 37.02 kB / 1.391 GB, free: 3.078 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008257/0.8392, allocations: 0.5514 MB / 1.392 GB, free: 2.512 MB / 1.107 GB Notification: Performance of pre-optimization done (n=92): time 1.974e-06/0.8392, allocations: 0 / 1.392 GB, free: 2.512 MB / 1.107 GB Notification: Performance of matching and sorting (n=92): time 0.003018/0.8422, allocations: 1.341 MB / 1.393 GB, free: 1.145 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.8423, allocations: 192.9 kB / 1.393 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.843, allocations: 0.6803 MB / 1.394 GB, free: 228 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-05/0.843, allocations: 45.7 kB / 1.394 GB, free: 176 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.8433, allocations: 444.3 kB / 1.394 GB, free: 15.73 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.8435, allocations: 295.8 kB / 1.395 GB, free: 15.44 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.8438, allocations: 186.4 kB / 1.395 GB, free: 15.25 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8439, allocations: 398.7 kB / 1.395 GB, free: 14.85 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.8444, allocations: 305.8 kB / 1.395 GB, free: 14.55 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.8451, allocations: 411 kB / 1.396 GB, free: 14.13 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.8462, allocations: 0.6829 MB / 1.396 GB, free: 13.44 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.8462, allocations: 4 kB / 1.396 GB, free: 13.44 MB / 1.123 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001869/0.8481, allocations: 0.9619 MB / 1.397 GB, free: 12.46 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8481, allocations: 4 kB / 1.397 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8481, allocations: 0 / 1.397 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.8486, allocations: 84.83 kB / 1.397 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.8493, allocations: 191.6 kB / 1.398 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.8511, allocations: 1.637 MB / 1.399 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.8518, allocations: 101.2 kB / 1.399 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.8519, allocations: 47.95 kB / 1.399 GB, free: 10.26 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0003549/0.8523, allocations: 280.6 kB / 1.4 GB, free: 9.98 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.8524, allocations: 90.88 kB / 1.4 GB, free: 9.891 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.8548, allocations: 1.234 MB / 1.401 GB, free: 8.645 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.8548, allocations: 8 kB / 1.401 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.8548, allocations: 0 / 1.401 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.8548, allocations: 11.97 kB / 1.401 GB, free: 8.625 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.8558, allocations: 1.009 MB / 1.402 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.8558, allocations: 0 / 1.402 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.8564, allocations: 167.7 kB / 1.402 GB, free: 7.402 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000389/0.8568, allocations: 72.8 kB / 1.402 GB, free: 7.328 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.8568, allocations: 35.95 kB / 1.402 GB, free: 7.293 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.8585, allocations: 1.658 MB / 1.404 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8585, allocations: 0 / 1.404 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.8604, allocations: 1.045 MB / 1.405 GB, free: 4.422 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.8607, allocations: 299.6 kB / 1.405 GB, free: 4.109 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.8608, allocations: 23.98 kB / 1.405 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/0.8615, allocations: 67.94 kB / 1.405 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.8616, allocations: 80.88 kB / 1.405 GB, free: 3.941 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.8617, allocations: 43.97 kB / 1.405 GB, free: 3.898 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000498/0.8622, allocations: 495 kB / 1.406 GB, free: 3.418 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8622, allocations: 0 / 1.406 GB, free: 3.418 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007605/0.863, allocations: 379 kB / 1.406 GB, free: 3.047 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001262/0.8642, allocations: 0.6252 MB / 1.407 GB, free: 2.598 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.8659, allocations: 0.929 MB / 1.408 GB, free: 1.656 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8659, allocations: 0 / 1.408 GB, free: 1.656 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009157/0.8668, allocations: 0.5743 MB / 1.408 GB, free: 1.066 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.8679, allocations: 329.3 kB / 1.409 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.8707, allocations: 1.887 MB / 1.41 GB, free: 14.84 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.8713, allocations: 1.071 MB / 1.411 GB, free: 13.74 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.8716, allocations: 131.4 kB / 1.412 GB, free: 13.61 MB / 1.139 GB Notification: Performance of SimCode: time 2.3e-07/0.8716, allocations: 0 / 1.412 GB, free: 13.61 MB / 1.139 GB Notification: Performance of Templates: time 0.02383/0.8955, allocations: 20.93 MB / 1.432 GB, free: 8.77 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches