Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 111.9 kB / 17.96 MB, free: 3.918 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.001374/0.001374, allocations: 192.4 kB / 21.22 MB, free: 0.668 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.375/1.375, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 476.7 MB / 0.7635 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.88 kB / 1.108 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.8143, allocations: 168.7 MB / 1.272 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007073/0.8214, allocations: 4.916 MB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.9969, allocations: 151.2 MB / 1.425 GB, free: 7.77 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009135/0.9979, allocations: 15.94 kB / 1.425 GB, free: 7.754 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008037/0.9987, allocations: 190.2 kB / 1.425 GB, free: 7.566 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002186/1.001, allocations: 0.552 MB / 1.426 GB, free: 7.016 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/1.003, allocations: 0.8587 MB / 1.426 GB, free: 6.164 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002036/1.005, allocations: 1.374 MB / 1.428 GB, free: 4.785 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009489/1.006, allocations: 406 kB / 1.428 GB, free: 4.367 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009361/1.007, allocations: 490.3 kB / 1.429 GB, free: 3.887 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009261/1.008, allocations: 0.5017 MB / 1.429 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003274/1.008, allocations: 116 kB / 1.429 GB, free: 3.27 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/1.01, allocations: 479.6 kB / 1.43 GB, free: 2.801 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/1.01, allocations: 303 kB / 1.43 GB, free: 2.504 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007568/1.011, allocations: 0.5519 MB / 1.43 GB, free: 1.949 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/1.013, allocations: 1.634 MB / 1.432 GB, free: 316 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.013, allocations: 0 / 1.432 GB, free: 316 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.472e-06/1.013, allocations: 0 / 1.432 GB, free: 316 kB / 1.123 GB Notification: Performance of Transformations before backend: time 4.772e-05/1.013, allocations: 0 / 1.432 GB, free: 316 kB / 1.123 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.003554/1.017, allocations: 1.467 MB / 1.433 GB, free: 14.78 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.017, allocations: 12.03 kB / 1.433 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/1.017, allocations: 135.4 kB / 1.434 GB, free: 14.63 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.018, allocations: 184.1 kB / 1.434 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/1.02, allocations: 0.7659 MB / 1.435 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/1.02, allocations: 69.98 kB / 1.435 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.02, allocations: 76 kB / 1.435 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/1.022, allocations: 0.9183 MB / 1.436 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.022, allocations: 11.98 kB / 1.436 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/1.022, allocations: 36 kB / 1.436 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/1.022, allocations: 24 kB / 1.436 GB, free: 12.46 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/1.024, allocations: 1.097 MB / 1.437 GB, free: 11.37 MB / 1.139 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.004683/1.028, allocations: 2.682 MB / 1.439 GB, free: 8.574 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.03, allocations: 0.7588 MB / 1.44 GB, free: 7.816 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/1.03, allocations: 270.7 kB / 1.44 GB, free: 7.547 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.417e-05/1.03, allocations: 32.67 kB / 1.44 GB, free: 7.516 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008908/1.031, allocations: 487.2 kB / 1.441 GB, free: 7.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=80): time 2.354e-06/1.031, allocations: 0 / 1.441 GB, free: 7.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=80): time 0.003403/1.035, allocations: 1.206 MB / 1.442 GB, free: 5.789 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.035, allocations: 192.6 kB / 1.442 GB, free: 5.559 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/1.036, allocations: 0.6254 MB / 1.443 GB, free: 4.926 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.036, allocations: 45.7 kB / 1.443 GB, free: 4.875 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/1.036, allocations: 409 kB / 1.443 GB, free: 4.469 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.037, allocations: 269.7 kB / 1.443 GB, free: 4.203 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/1.037, allocations: 146.6 kB / 1.444 GB, free: 4.051 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.037, allocations: 390.7 kB / 1.444 GB, free: 3.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/1.038, allocations: 245.9 kB / 1.444 GB, free: 3.422 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/1.038, allocations: 362.5 kB / 1.445 GB, free: 3.043 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.039, allocations: 0.5838 MB / 1.445 GB, free: 2.445 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.039, allocations: 0 / 1.445 GB, free: 2.445 MB / 1.139 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002001/1.041, allocations: 0.8063 MB / 1.446 GB, free: 1.633 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.041, allocations: 10.19 kB / 1.446 GB, free: 1.625 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.041, allocations: 3.938 kB / 1.446 GB, free: 1.621 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/1.042, allocations: 88.72 kB / 1.446 GB, free: 1.531 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/1.043, allocations: 147.8 kB / 1.446 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.045, allocations: 1.627 MB / 1.448 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/1.046, allocations: 87.58 kB / 1.448 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/1.046, allocations: 31.97 kB / 1.448 GB, free: 15.49 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (87): * Single equations (assignments): 86 * 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.00047/1.046, allocations: 274.1 kB / 1.448 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.046, allocations: 87.44 kB / 1.448 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/1.049, allocations: 1.054 MB / 1.449 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.049, allocations: 8 kB / 1.449 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.049, allocations: 3.938 kB / 1.449 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/1.049, allocations: 3.984 kB / 1.449 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/1.05, allocations: 0.8958 MB / 1.45 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.05, allocations: 0 / 1.45 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.051, allocations: 155.7 kB / 1.45 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/1.051, allocations: 68.78 kB / 1.45 GB, free: 12.87 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.088e-05/1.051, allocations: 23.98 kB / 1.45 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/1.053, allocations: 1.67 MB / 1.452 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.053, allocations: 0 / 1.452 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.055, allocations: 0.9244 MB / 1.453 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/1.056, allocations: 280.2 kB / 1.453 GB, free: 9.797 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.056, allocations: 24 kB / 1.453 GB, free: 9.773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/1.057, allocations: 55.94 kB / 1.453 GB, free: 9.719 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.057, allocations: 76.83 kB / 1.453 GB, free: 9.645 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/1.057, allocations: 31.98 kB / 1.453 GB, free: 9.613 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006243/1.057, allocations: 459 kB / 1.454 GB, free: 9.172 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.057, allocations: 0 / 1.454 GB, free: 9.172 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009346/1.058, allocations: 323.2 kB / 1.454 GB, free: 8.855 MB / 1.154 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.004266/1.063, allocations: 1.984 MB / 1.456 GB, free: 7.031 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001895/1.065, allocations: 0.7727 MB / 1.457 GB, free: 6.246 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.065, allocations: 0 / 1.457 GB, free: 6.246 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009834/1.066, allocations: 496.2 kB / 1.457 GB, free: 5.746 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.067, allocations: 316.2 kB / 1.458 GB, free: 5.465 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.078, allocations: 6.167 MB / 1.464 GB, free: 15.19 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/1.079, allocations: 1.019 MB / 1.465 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009042/1.08, allocations: 266.6 kB / 1.465 GB, free: 13.87 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/1.08, allocations: 375.3 kB / 1.465 GB, free: 13.5 MB / 1.17 GB Notification: Performance of SimCode: time 1.242e-06/1.08, allocations: 0 / 1.465 GB, free: 13.5 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06399/1.144, allocations: 21.61 MB / 1.486 GB, free: 8.148 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.27, allocations: 6.422 kB / 1.486 GB, free: 8.148 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.337291264208034]