Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.0009966/0.0009966, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.223/1.223, 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.358/2.358, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6278/0.6289, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00556/0.6345, allocations: 4.82 MB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1374/0.772, allocations: 150.6 MB / 1.36 GB, free: 1.605 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007777/0.7728, allocations: 15.94 kB / 1.36 GB, free: 1.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.7735, allocations: 178.3 kB / 1.36 GB, free: 1.414 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.7752, allocations: 0.5508 MB / 1.361 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.777, allocations: 0.8329 MB / 1.362 GB, free: 36 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.7784, allocations: 1.386 MB / 1.363 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000814/0.7792, allocations: 0.583 MB / 1.364 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.7799, allocations: 494.3 kB / 1.364 GB, free: 13.56 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.7805, allocations: 0.5017 MB / 1.365 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.7807, allocations: 116 kB / 1.365 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/0.7815, allocations: 483.6 kB / 1.365 GB, free: 12.47 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.7818, allocations: 299 kB / 1.365 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.7823, allocations: 0.5597 MB / 1.366 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.784, allocations: 1.641 MB / 1.368 GB, free: 9.969 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.784, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.322e-06/0.784, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.784, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002445/0.7865, allocations: 1.422 MB / 1.369 GB, free: 8.492 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.7865, allocations: 11.97 kB / 1.369 GB, free: 8.48 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.7874, allocations: 187.4 kB / 1.369 GB, free: 8.297 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.7885, allocations: 0.7578 MB / 1.37 GB, free: 7.5 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.7885, allocations: 62 kB / 1.37 GB, free: 7.438 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.7886, allocations: 80 kB / 1.37 GB, free: 7.359 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.7901, allocations: 0.9145 MB / 1.371 GB, free: 6.406 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.7901, allocations: 0 / 1.371 GB, free: 6.406 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.7902, allocations: 36 kB / 1.371 GB, free: 6.371 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.7902, allocations: 27.94 kB / 1.371 GB, free: 6.344 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.7918, allocations: 1.108 MB / 1.372 GB, free: 5.234 MB / 1.092 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.003486/0.7953, allocations: 2.701 MB / 1.375 GB, free: 2.418 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.7967, allocations: 0.8937 MB / 1.376 GB, free: 1.5 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.7972, allocations: 306.7 kB / 1.376 GB, free: 1.195 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.7973, allocations: 32.61 kB / 1.376 GB, free: 1.164 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000758/0.7981, allocations: 0.4889 MB / 1.376 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/0.7981, allocations: 0 / 1.376 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.002859/0.8009, allocations: 1.194 MB / 1.378 GB, free: 15.44 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.801, allocations: 192.5 kB / 1.378 GB, free: 15.21 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.8017, allocations: 0.6291 MB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.8018, allocations: 45.7 kB / 1.378 GB, free: 14.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.8021, allocations: 384.5 kB / 1.379 GB, free: 14.13 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.8023, allocations: 256.3 kB / 1.379 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.8025, allocations: 158.5 kB / 1.379 GB, free: 13.72 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8026, allocations: 394.7 kB / 1.38 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.8031, allocations: 265.9 kB / 1.38 GB, free: 13.06 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.8037, allocations: 367 kB / 1.38 GB, free: 12.69 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.8047, allocations: 0.5995 MB / 1.381 GB, free: 12.08 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8047, allocations: 3.938 kB / 1.381 GB, free: 12.08 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001791/0.8065, allocations: 0.8488 MB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8065, allocations: 6.031 kB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8066, allocations: 0 / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.8071, allocations: 88.8 kB / 1.382 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.8077, allocations: 159.7 kB / 1.382 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.8096, allocations: 1.646 MB / 1.383 GB, free: 9.176 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.8103, allocations: 87.39 kB / 1.383 GB, free: 9.09 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.8104, allocations: 35.97 kB / 1.384 GB, free: 9.055 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003632/0.8107, allocations: 281.1 kB / 1.384 GB, free: 8.773 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.8109, allocations: 82.97 kB / 1.384 GB, free: 8.691 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.813, allocations: 1.054 MB / 1.385 GB, free: 7.621 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.813, allocations: 8 kB / 1.385 GB, free: 7.613 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8131, allocations: 7.938 kB / 1.385 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.8131, allocations: 7.984 kB / 1.385 GB, free: 7.598 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.8159, allocations: 1.955 MB / 1.387 GB, free: 5.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8159, allocations: 3.938 kB / 1.387 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.8165, allocations: 143.8 kB / 1.387 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.8169, allocations: 72.78 kB / 1.387 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.817, allocations: 23.98 kB / 1.387 GB, free: 5.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.8187, allocations: 1.674 MB / 1.389 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8187, allocations: 3.938 kB / 1.389 GB, free: 3.516 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.8205, allocations: 1.002 MB / 1.39 GB, free: 2.496 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.8209, allocations: 271.7 kB / 1.39 GB, free: 2.211 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.821, allocations: 16 kB / 1.39 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.8217, allocations: 67.16 kB / 1.39 GB, free: 2.133 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.8218, allocations: 68.91 kB / 1.39 GB, free: 2.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.8219, allocations: 40.03 kB / 1.39 GB, free: 2.023 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005261/0.8224, allocations: 451 kB / 1.391 GB, free: 1.59 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8224, allocations: 0 / 1.391 GB, free: 1.59 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007772/0.8232, allocations: 319.3 kB / 1.391 GB, free: 1.277 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001243/0.8244, allocations: 0.5907 MB / 1.391 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.826, allocations: 0.835 MB / 1.392 GB, free: 16 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.826, allocations: 0 / 1.392 GB, free: 16 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008555/0.8269, allocations: 0.5199 MB / 1.393 GB, free: 15.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.828, allocations: 306.5 kB / 1.393 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.8306, allocations: 1.659 MB / 1.395 GB, free: 13.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.8312, allocations: 1.019 MB / 1.396 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.8314, allocations: 115.4 kB / 1.396 GB, free: 12.35 MB / 1.123 GB Notification: Performance of SimCode: time 3.4e-07/0.8314, allocations: 0 / 1.396 GB, free: 12.35 MB / 1.123 GB Notification: Performance of Templates: time 0.02167/0.8531, allocations: 18.59 MB / 1.414 GB, free: 9.809 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches