Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 108.3 kB / 19.7 MB, free: 2.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 215.9 kB / 22.99 MB, free: 4.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 71.17 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3165, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006946/0.3235, allocations: 4.421 MB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.4968, allocations: 132.7 MB / 1.461 GB, free: 7.414 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008254/0.4976, allocations: 27.75 kB / 1.461 GB, free: 7.387 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.4982, allocations: 198.2 kB / 1.461 GB, free: 7.191 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4999, allocations: 0.5645 MB / 1.462 GB, free: 6.629 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.502, allocations: 0.856 MB / 1.463 GB, free: 5.777 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.5036, allocations: 1.397 MB / 1.464 GB, free: 4.375 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007377/0.5043, allocations: 406 kB / 1.464 GB, free: 3.953 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006849/0.505, allocations: 0.5061 MB / 1.465 GB, free: 3.445 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.5057, allocations: 0.5017 MB / 1.465 GB, free: 2.941 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.5058, allocations: 116 kB / 1.465 GB, free: 2.828 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.5068, allocations: 0.5035 MB / 1.466 GB, free: 2.324 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.5071, allocations: 299 kB / 1.466 GB, free: 2.031 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.5076, allocations: 465.7 kB / 1.467 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.5097, allocations: 1.681 MB / 1.468 GB, free: 15.89 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5097, allocations: 4 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5097, allocations: 0 / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.5097, allocations: 4 kB / 1.468 GB, free: 15.88 MB / 1.17 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.002871/0.5126, allocations: 1.407 MB / 1.47 GB, free: 14.44 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5127, allocations: 8.031 kB / 1.47 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.5142, allocations: 232 kB / 1.47 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.5156, allocations: 0.7143 MB / 1.471 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.5157, allocations: 70 kB / 1.471 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5158, allocations: 76 kB / 1.471 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.5177, allocations: 1.169 MB / 1.472 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.5178, allocations: 0 / 1.472 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.5179, allocations: 43.92 kB / 1.472 GB, free: 12 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.5179, allocations: 20 kB / 1.472 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.5198, allocations: 1.057 MB / 1.473 GB, free: 10.92 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.5239, allocations: 2.078 MB / 1.475 GB, free: 8.793 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.5255, allocations: 0.7482 MB / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.526, allocations: 278.7 kB / 1.476 GB, free: 7.762 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.5261, allocations: 36.73 kB / 1.476 GB, free: 7.727 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.5271, allocations: 0.5878 MB / 1.477 GB, free: 7.094 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 2.935e-06/0.5271, allocations: 0 / 1.477 GB, free: 7.094 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003571/0.5307, allocations: 1.119 MB / 1.478 GB, free: 5.965 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.5308, allocations: 192.6 kB / 1.478 GB, free: 5.734 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/0.5317, allocations: 0.6056 MB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.5318, allocations: 41.7 kB / 1.478 GB, free: 5.074 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.5322, allocations: 413 kB / 1.479 GB, free: 4.664 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.5324, allocations: 273.7 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.5327, allocations: 166.6 kB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.5329, allocations: 386.7 kB / 1.48 GB, free: 3.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.5335, allocations: 265.9 kB / 1.48 GB, free: 3.578 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.5343, allocations: 495.6 kB / 1.48 GB, free: 3.051 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.5355, allocations: 0.6033 MB / 1.481 GB, free: 2.438 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5355, allocations: 0 / 1.481 GB, free: 2.438 MB / 1.17 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002244/0.5377, allocations: 0.8531 MB / 1.482 GB, free: 1.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.5377, allocations: 8 kB / 1.482 GB, free: 1.562 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5377, allocations: 0 / 1.482 GB, free: 1.562 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.5385, allocations: 84.89 kB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.5392, allocations: 167.7 kB / 1.482 GB, free: 1.312 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.5415, allocations: 1.496 MB / 1.484 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.5424, allocations: 83.64 kB / 1.484 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.852e-05/0.5425, allocations: 39.97 kB / 1.484 GB, free: 15.59 MB / 1.186 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.0005048/0.543, allocations: 268.1 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.5432, allocations: 91.36 kB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.5459, allocations: 1.05 MB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.5459, allocations: 12 kB / 1.485 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5459, allocations: 0 / 1.485 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5459, allocations: 3.984 kB / 1.485 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.547, allocations: 0.638 MB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.547, allocations: 0 / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.5477, allocations: 155.7 kB / 1.486 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/0.5482, allocations: 72.78 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.5482, allocations: 27.97 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.5503, allocations: 1.528 MB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5503, allocations: 0 / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.5525, allocations: 0.9283 MB / 1.488 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.553, allocations: 187.1 kB / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5531, allocations: 23.98 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/0.5538, allocations: 61.97 kB / 1.489 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.5539, allocations: 76.86 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.554, allocations: 39.97 kB / 1.489 GB, free: 10.26 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006255/0.5547, allocations: 439 kB / 1.489 GB, free: 9.832 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5547, allocations: 0 / 1.489 GB, free: 9.832 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009406/0.5556, allocations: 331.1 kB / 1.489 GB, free: 9.508 MB / 1.186 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.002199/0.5578, allocations: 0.6385 MB / 1.49 GB, free: 9.074 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.5596, allocations: 0.7921 MB / 1.491 GB, free: 8.273 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5596, allocations: 8.125 kB / 1.491 GB, free: 8.266 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.5607, allocations: 496.2 kB / 1.491 GB, free: 7.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5619, allocations: 297.8 kB / 1.492 GB, free: 7.504 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.5651, allocations: 1.676 MB / 1.493 GB, free: 5.789 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.5656, allocations: 435.7 kB / 1.494 GB, free: 5.328 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008123/0.5664, allocations: 262.4 kB / 1.494 GB, free: 5.066 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.5667, allocations: 111.4 kB / 1.494 GB, free: 4.957 MB / 1.186 GB Notification: Performance of SimCode: time 9.92e-07/0.5667, allocations: 0 / 1.494 GB, free: 4.957 MB / 1.186 GB Notification: Performance of Templates: time 0.02922/0.5959, allocations: 16.42 MB / 1.51 GB, free: 4.828 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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: 9.49543354701018]