Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 112.6 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 194.2 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 GB " [Timeout remaining time 177] 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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 63.91 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3326, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01039/0.343, allocations: 7.079 MB / 1.183 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.8018/1.145, allocations: 151.1 MB / 1.33 GB, free: 8.496 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/1.146, allocations: 18.41 kB / 1.33 GB, free: 8.492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000851/1.147, allocations: 266 kB / 1.331 GB, free: 8.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/1.15, allocations: 0.7785 MB / 1.331 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/1.152, allocations: 1.024 MB / 1.332 GB, free: 7.762 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003262/1.156, allocations: 2.097 MB / 1.334 GB, free: 7.102 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/1.157, allocations: 1.102 MB / 1.335 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/1.159, allocations: 0.8264 MB / 1.336 GB, free: 6.086 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/1.16, allocations: 0.8785 MB / 1.337 GB, free: 5.609 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003366/1.161, allocations: 218.2 kB / 1.337 GB, free: 5.609 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/1.162, allocations: 0.5734 MB / 1.338 GB, free: 5.492 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005539/1.163, allocations: 495.5 kB / 1.338 GB, free: 5.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/1.164, allocations: 0.9709 MB / 1.339 GB, free: 4.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004127/1.168, allocations: 2.677 MB / 1.342 GB, free: 3.375 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.168, allocations: 0 / 1.342 GB, free: 3.375 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/1.168, allocations: 0 / 1.342 GB, free: 3.375 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.434e-05/1.168, allocations: 0 / 1.342 GB, free: 3.375 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004261/1.172, allocations: 2.099 MB / 1.344 GB, free: 2.008 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.172, allocations: 10.69 kB / 1.344 GB, free: 2.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.174, allocations: 266.1 kB / 1.344 GB, free: 1.902 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/1.175, allocations: 0.9955 MB / 1.345 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/1.175, allocations: 152.9 kB / 1.345 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/1.176, allocations: 152.2 kB / 1.346 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/1.178, allocations: 1.587 MB / 1.347 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/1.178, allocations: 0 / 1.347 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.179, allocations: 67.66 kB / 1.347 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/1.179, allocations: 39.12 kB / 1.347 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/1.181, allocations: 1.594 MB / 1.349 GB, free: 15.93 MB / 1.029 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.007895/1.189, allocations: 4.693 MB / 1.353 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/1.191, allocations: 1.095 MB / 1.354 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/1.192, allocations: 431.2 kB / 1.355 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/1.192, allocations: 45.69 kB / 1.355 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/1.194, allocations: 0.7102 MB / 1.356 GB, free: 12.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=111): time 2.504e-06/1.194, allocations: 0 / 1.356 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=111): time 0.004261/1.198, allocations: 1.654 MB / 1.357 GB, free: 11.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.198, allocations: 202.9 kB / 1.357 GB, free: 11.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.199, allocations: 0.8404 MB / 1.358 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/1.199, allocations: 48.92 kB / 1.358 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/1.2, allocations: 0.6333 MB / 1.359 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/1.2, allocations: 371.6 kB / 1.359 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/1.201, allocations: 233.1 kB / 1.359 GB, free: 9.996 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.201, allocations: 345.4 kB / 1.36 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/1.202, allocations: 399 kB / 1.36 GB, free: 9.523 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/1.203, allocations: 0.5089 MB / 1.361 GB, free: 9.293 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.204, allocations: 0.8882 MB / 1.361 GB, free: 8.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.204, allocations: 0.9688 kB / 1.361 GB, free: 8.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002875/1.207, allocations: 1.214 MB / 1.363 GB, free: 8.328 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.207, allocations: 10.86 kB / 1.363 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.207, allocations: 1.156 kB / 1.363 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/1.208, allocations: 82.34 kB / 1.363 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/1.209, allocations: 237.4 kB / 1.363 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/1.211, allocations: 1.651 MB / 1.365 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.213, allocations: 127.5 kB / 1.365 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.213, allocations: 58.95 kB / 1.365 GB, free: 6.5 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0008494/1.214, allocations: 354.2 kB / 1.365 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/1.214, allocations: 120.7 kB / 1.365 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/1.217, allocations: 1.528 MB / 1.367 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.217, allocations: 16.36 kB / 1.367 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.217, allocations: 1.375 kB / 1.367 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/1.217, allocations: 7.969 kB / 1.367 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.22, allocations: 1.378 MB / 1.368 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.22, allocations: 0 / 1.368 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/1.221, allocations: 194.1 kB / 1.368 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/1.221, allocations: 80.22 kB / 1.368 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/1.221, allocations: 38.53 kB / 1.368 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.223, allocations: 1.659 MB / 1.37 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.223, allocations: 7.922 kB / 1.37 GB, free: 2.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.226, allocations: 1.285 MB / 1.371 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006974/1.227, allocations: 373 kB / 1.372 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/1.227, allocations: 24 kB / 1.372 GB, free: 1.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/1.228, allocations: 82.81 kB / 1.372 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.228, allocations: 97.89 kB / 1.372 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/1.228, allocations: 52.14 kB / 1.372 GB, free: 1.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000878/1.229, allocations: 0.6166 MB / 1.372 GB, free: 1.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.229, allocations: 0 / 1.372 GB, free: 1.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001247/1.23, allocations: 486 kB / 1.373 GB, free: 0.9219 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002009/1.232, allocations: 0.6217 MB / 1.374 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002486/1.235, allocations: 1.152 MB / 1.375 GB, free: 48 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.235, allocations: 3.938 kB / 1.375 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.236, allocations: 0.6793 MB / 1.375 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.238, allocations: 352.5 kB / 1.376 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/1.242, allocations: 2.563 MB / 1.378 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008738/1.243, allocations: 1.221 MB / 1.379 GB, free: 13.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.243, allocations: 160.8 kB / 1.38 GB, free: 12.96 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/1.244, allocations: 0 / 1.38 GB, free: 12.96 MB / 1.045 GB Notification: Performance of Templates: time 0.03822/1.282, allocations: 27.45 MB / 1.406 GB, free: 7.273 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.339001604937948]