Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008924/0.008924, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001969/0.00197, allocations: 196.3 kB / 16.68 MB, free: 5.973 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.509/2.509, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.91 kB / 1.018 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9709/0.9721, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006588/0.9787, allocations: 4.854 MB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1722/1.151, allocations: 150.6 MB / 1.318 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000916/1.152, allocations: 15.94 kB / 1.318 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005894/1.152, allocations: 194.2 kB / 1.319 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/1.154, allocations: 0.5364 MB / 1.319 GB, free: 7.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/1.156, allocations: 0.8338 MB / 1.32 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001381/1.158, allocations: 1.378 MB / 1.321 GB, free: 4.805 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009043/1.159, allocations: 0.5763 MB / 1.322 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/1.159, allocations: 482.3 kB / 1.322 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/1.16, allocations: 0.4978 MB / 1.323 GB, free: 3.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/1.16, allocations: 116 kB / 1.323 GB, free: 3.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/1.161, allocations: 487.6 kB / 1.323 GB, free: 2.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/1.162, allocations: 295.1 kB / 1.324 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000594/1.162, allocations: 0.5558 MB / 1.324 GB, free: 1.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/1.164, allocations: 1.634 MB / 1.326 GB, free: 160 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.164, allocations: 0 / 1.326 GB, free: 160 kB / 1.045 GB Notification: Performance of FrontEnd: time 6.121e-06/1.164, allocations: 0 / 1.326 GB, free: 160 kB / 1.045 GB Notification: Performance of Transformations before backend: time 1.787e-05/1.164, allocations: 3.938 kB / 1.326 GB, free: 156 kB / 1.045 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.002446/1.167, allocations: 1.448 MB / 1.327 GB, free: 14.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/1.167, allocations: 16.88 kB / 1.327 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/1.168, allocations: 196 kB / 1.327 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/1.169, allocations: 0.7623 MB / 1.328 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/1.169, allocations: 66 kB / 1.328 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/1.169, allocations: 76 kB / 1.328 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/1.171, allocations: 0.9222 MB / 1.329 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/1.171, allocations: 4 kB / 1.329 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/1.171, allocations: 36 kB / 1.329 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.171, allocations: 20 kB / 1.329 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/1.172, allocations: 1.1 MB / 1.33 GB, free: 11.38 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.003892/1.176, allocations: 2.682 MB / 1.333 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.178, allocations: 0.7946 MB / 1.334 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/1.178, allocations: 302.6 kB / 1.334 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/1.178, allocations: 28.67 kB / 1.334 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008638/1.179, allocations: 495.2 kB / 1.334 GB, free: 6.957 MB / 1.061 GB Notification: Performance of pre-optimization done (n=80): time 2.395e-06/1.179, allocations: 3.938 kB / 1.335 GB, free: 6.953 MB / 1.061 GB Notification: Performance of matching and sorting (n=80): time 0.003228/1.183, allocations: 1.198 MB / 1.336 GB, free: 5.727 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.183, allocations: 188.6 kB / 1.336 GB, free: 5.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/1.184, allocations: 0.6254 MB / 1.336 GB, free: 4.867 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/1.184, allocations: 49.7 kB / 1.337 GB, free: 4.812 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/1.184, allocations: 401.1 kB / 1.337 GB, free: 4.414 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/1.184, allocations: 273.7 kB / 1.337 GB, free: 4.145 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/1.184, allocations: 166.5 kB / 1.337 GB, free: 3.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.185, allocations: 394.6 kB / 1.338 GB, free: 3.582 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/1.185, allocations: 265.8 kB / 1.338 GB, free: 3.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006305/1.186, allocations: 363.1 kB / 1.338 GB, free: 2.953 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.187, allocations: 0.6111 MB / 1.339 GB, free: 2.332 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.187, allocations: 4 kB / 1.339 GB, free: 2.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001923/1.189, allocations: 0.8493 MB / 1.34 GB, free: 1.465 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.189, allocations: 8 kB / 1.34 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.189, allocations: 0 / 1.34 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/1.19, allocations: 88.77 kB / 1.34 GB, free: 1.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.19, allocations: 171.7 kB / 1.34 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/1.192, allocations: 1.626 MB / 1.342 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/1.193, allocations: 95.47 kB / 1.342 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/1.193, allocations: 35.95 kB / 1.342 GB, free: 15.3 MB / 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: 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 (95): * Single equations (assignments): 94 * 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.0005197/1.194, allocations: 275.4 kB / 1.342 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/1.194, allocations: 87.47 kB / 1.342 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/1.196, allocations: 1.058 MB / 1.343 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.196, allocations: 12 kB / 1.343 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.196, allocations: 3.938 kB / 1.343 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.196, allocations: 3.984 kB / 1.343 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/1.197, allocations: 0.8842 MB / 1.344 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.197, allocations: 0 / 1.344 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/1.198, allocations: 143.8 kB / 1.344 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/1.198, allocations: 76.78 kB / 1.344 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/1.198, allocations: 23.98 kB / 1.344 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.2, allocations: 1.655 MB / 1.346 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.2, allocations: 4.031 kB / 1.346 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/1.202, allocations: 0.9322 MB / 1.347 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/1.203, allocations: 268.2 kB / 1.347 GB, free: 9.621 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.203, allocations: 20.12 kB / 1.347 GB, free: 9.602 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/1.203, allocations: 70.59 kB / 1.347 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.204, allocations: 72.88 kB / 1.347 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/1.204, allocations: 43.86 kB / 1.347 GB, free: 9.422 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005811/1.204, allocations: 459 kB / 1.348 GB, free: 8.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.204, allocations: 0 / 1.348 GB, free: 8.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008714/1.205, allocations: 331.1 kB / 1.348 GB, free: 8.656 MB / 1.076 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.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 (91): * Single equations (assignments): 85 * 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.001421/1.207, allocations: 0.6026 MB / 1.349 GB, free: 8.215 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001775/1.208, allocations: 0.8274 MB / 1.349 GB, free: 7.375 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.208, allocations: 0 / 1.349 GB, free: 7.375 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/1.209, allocations: 0.5119 MB / 1.35 GB, free: 6.852 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.211, allocations: 300.6 kB / 1.35 GB, free: 6.574 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/1.214, allocations: 1.663 MB / 1.352 GB, free: 4.887 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/1.215, allocations: 1.016 MB / 1.353 GB, free: 3.844 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009333/1.215, allocations: 270.6 kB / 1.353 GB, free: 3.574 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/1.216, allocations: 107.4 kB / 1.353 GB, free: 3.469 MB / 1.076 GB Notification: Performance of SimCode: time 2.835e-06/1.216, allocations: 0 / 1.353 GB, free: 3.469 MB / 1.076 GB Notification: Performance of Templates: time 0.03036/1.246, allocations: 15.19 MB / 1.368 GB, free: 4.422 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches