Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00135/0.00135, allocations: 104.3 kB / 16.45 MB, free: 6.445 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.001357/0.001357, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 497.2 MB / 0.7811 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.91 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9414, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006111/0.9476, allocations: 7.081 MB / 1.311 GB, free: 27.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1931/1.141, allocations: 151.6 MB / 1.459 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/1.142, allocations: 22.91 kB / 1.459 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/1.143, allocations: 261.1 kB / 1.459 GB, free: 12.68 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003106/1.146, allocations: 0.7862 MB / 1.46 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/1.149, allocations: 1.02 MB / 1.461 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003381/1.152, allocations: 2.092 MB / 1.463 GB, free: 10.51 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/1.154, allocations: 0.7759 MB / 1.464 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/1.156, allocations: 0.8335 MB / 1.465 GB, free: 9.582 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/1.158, allocations: 0.8806 MB / 1.465 GB, free: 9.105 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007197/1.158, allocations: 217.6 kB / 1.466 GB, free: 9.105 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/1.16, allocations: 0.5725 MB / 1.466 GB, free: 8.992 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000827/1.161, allocations: 495.2 kB / 1.467 GB, free: 8.66 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/1.163, allocations: 0.9693 MB / 1.468 GB, free: 8.02 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00465/1.167, allocations: 2.684 MB / 1.47 GB, free: 6.555 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.167, allocations: 7.984 kB / 1.47 GB, free: 6.547 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.054e-06/1.167, allocations: 0 / 1.47 GB, free: 6.547 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.194e-05/1.168, allocations: 1.25 kB / 1.47 GB, free: 6.547 MB / 1.154 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.005088/1.173, allocations: 2.098 MB / 1.472 GB, free: 4.945 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.173, allocations: 9 kB / 1.472 GB, free: 4.945 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003197/1.173, allocations: 232.9 kB / 1.472 GB, free: 4.758 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/1.174, allocations: 260.5 kB / 1.473 GB, free: 4.633 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/1.176, allocations: 1.006 MB / 1.474 GB, free: 3.812 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/1.177, allocations: 143 kB / 1.474 GB, free: 3.73 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/1.177, allocations: 148.6 kB / 1.474 GB, free: 3.684 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/1.18, allocations: 1.589 MB / 1.476 GB, free: 2.699 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/1.18, allocations: 7.938 kB / 1.476 GB, free: 2.691 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/1.18, allocations: 63.09 kB / 1.476 GB, free: 2.645 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/1.18, allocations: 41.83 kB / 1.476 GB, free: 2.641 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/1.183, allocations: 1.595 MB / 1.477 GB, free: 1.863 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/1.192, allocations: 4.998 MB / 1.482 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.194, allocations: 1.029 MB / 1.483 GB, free: 13.19 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/1.195, allocations: 396 kB / 1.483 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/1.195, allocations: 48.19 kB / 1.484 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/1.196, allocations: 0.6998 MB / 1.484 GB, free: 12.51 MB / 1.17 GB Notification: Performance of pre-optimization done (n=111): time 2.695e-06/1.196, allocations: 0 / 1.484 GB, free: 12.51 MB / 1.17 GB Notification: Performance of matching and sorting (n=111): time 0.004272/1.2, allocations: 1.66 MB / 1.486 GB, free: 11.62 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/1.201, allocations: 196.7 kB / 1.486 GB, free: 11.4 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/1.202, allocations: 0.845 MB / 1.487 GB, free: 10.91 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/1.202, allocations: 48.61 kB / 1.487 GB, free: 10.86 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/1.203, allocations: 0.6322 MB / 1.488 GB, free: 10.3 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/1.203, allocations: 373.5 kB / 1.488 GB, free: 9.977 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/1.204, allocations: 208.3 kB / 1.488 GB, free: 9.852 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002409/1.204, allocations: 346.9 kB / 1.488 GB, free: 9.516 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00079/1.205, allocations: 378.7 kB / 1.489 GB, free: 9.324 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009387/1.206, allocations: 0.5119 MB / 1.489 GB, free: 9 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/1.207, allocations: 0.8579 MB / 1.49 GB, free: 8.32 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.207, allocations: 4 kB / 1.49 GB, free: 8.316 MB / 1.17 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002901/1.21, allocations: 1.161 MB / 1.491 GB, free: 7.141 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.21, allocations: 6.656 kB / 1.491 GB, free: 7.137 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.21, allocations: 0 / 1.491 GB, free: 7.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/1.211, allocations: 88.83 kB / 1.491 GB, free: 7.047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009862/1.212, allocations: 219.7 kB / 1.492 GB, free: 6.832 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.214, allocations: 1.65 MB / 1.493 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.215, allocations: 131.2 kB / 1.493 GB, free: 4.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.216, allocations: 43.97 kB / 1.493 GB, free: 4.867 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (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 (127): * Single equations (assignments): 126 * 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.0007958/1.216, allocations: 352.1 kB / 1.494 GB, free: 4.516 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/1.217, allocations: 119.2 kB / 1.494 GB, free: 4.398 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/1.22, allocations: 1.532 MB / 1.495 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/1.221, allocations: 15.98 kB / 1.495 GB, free: 2.84 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.221, allocations: 0 / 1.495 GB, free: 2.84 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.221, allocations: 7.969 kB / 1.495 GB, free: 2.832 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/1.223, allocations: 1.38 MB / 1.497 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.223, allocations: 0 / 1.497 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/1.224, allocations: 199.7 kB / 1.497 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/1.224, allocations: 76.78 kB / 1.497 GB, free: 1.125 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.224, allocations: 31.97 kB / 1.497 GB, free: 1.094 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/1.226, allocations: 1.67 MB / 1.499 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.226, allocations: 4.031 kB / 1.499 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/1.229, allocations: 1.285 MB / 1.5 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/1.23, allocations: 363.9 kB / 1.5 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/1.23, allocations: 31.94 kB / 1.5 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009538/1.231, allocations: 87.97 kB / 1.5 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.232, allocations: 101.2 kB / 1.5 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.232, allocations: 51.95 kB / 1.5 GB, free: 13.32 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001041/1.233, allocations: 0.6215 MB / 1.501 GB, free: 12.69 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.233, allocations: 0 / 1.501 GB, free: 12.69 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001426/1.234, allocations: 474.6 kB / 1.501 GB, free: 12.22 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: 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.004891/1.239, allocations: 2.364 MB / 1.504 GB, free: 10.02 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.242, allocations: 1.074 MB / 1.505 GB, free: 8.938 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.242, allocations: 0 / 1.505 GB, free: 8.938 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.243, allocations: 0.6308 MB / 1.505 GB, free: 8.293 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.244, allocations: 357.1 kB / 1.506 GB, free: 7.965 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.261, allocations: 8.721 MB / 1.514 GB, free: 15.08 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.263, allocations: 1.229 MB / 1.516 GB, free: 13.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001397/1.264, allocations: 321.2 kB / 1.516 GB, free: 13.51 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.265, allocations: 0.6086 MB / 1.516 GB, free: 12.9 MB / 1.201 GB Notification: Performance of SimCode: time 1.062e-06/1.265, allocations: 0 / 1.516 GB, free: 12.9 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07483/1.34, allocations: 29.55 MB / 1.545 GB, free: 15.69 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/15.05, allocations: 5.312 kB / 1.545 GB, free: 15.69 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.38281713332981]