Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.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.001316/0.001316, allocations: 105.8 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.001281/0.001281, 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.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.722/2.722, allocations: 476.7 MB / 0.7611 GB, free: 15.84 MB / 0.6075 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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.89 kB / 1.104 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9052/0.9071, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006639/0.9137, allocations: 5.985 MB / 1.275 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1938/1.108, allocations: 151.3 MB / 1.422 GB, free: 3.035 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/1.11, allocations: 16.5 kB / 1.422 GB, free: 3.031 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/1.111, allocations: 247.9 kB / 1.423 GB, free: 2.812 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003596/1.114, allocations: 0.6304 MB / 1.423 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/1.118, allocations: 0.8693 MB / 1.424 GB, free: 1.664 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003279/1.121, allocations: 1.652 MB / 1.426 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/1.123, allocations: 0.6084 MB / 1.426 GB, free: 192 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/1.124, allocations: 0.616 MB / 1.427 GB, free: 15.81 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/1.126, allocations: 0.6623 MB / 1.427 GB, free: 15.33 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005462/1.126, allocations: 153.5 kB / 1.428 GB, free: 15.33 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/1.128, allocations: 0.5065 MB / 1.428 GB, free: 15.16 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006661/1.128, allocations: 383.3 kB / 1.428 GB, free: 14.85 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001569/1.13, allocations: 0.731 MB / 1.429 GB, free: 14.32 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/1.134, allocations: 2.048 MB / 1.431 GB, free: 12.82 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.134, allocations: 4 kB / 1.431 GB, free: 12.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.953e-06/1.134, allocations: 0.9688 kB / 1.431 GB, free: 12.82 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.724e-05/1.134, allocations: 0 / 1.431 GB, free: 12.82 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004761/1.139, allocations: 1.758 MB / 1.433 GB, free: 11.45 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.139, allocations: 9.625 kB / 1.433 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003784/1.139, allocations: 177.7 kB / 1.433 GB, free: 11.3 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.14, allocations: 237.9 kB / 1.433 GB, free: 11.18 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/1.142, allocations: 0.8687 MB / 1.434 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.143, allocations: 93.86 kB / 1.434 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/1.143, allocations: 118.6 kB / 1.434 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/1.145, allocations: 1.202 MB / 1.436 GB, free: 9.621 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/1.145, allocations: 0 / 1.436 GB, free: 9.621 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.145, allocations: 55.91 kB / 1.436 GB, free: 9.578 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/1.145, allocations: 32.84 kB / 1.436 GB, free: 9.574 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/1.148, allocations: 1.287 MB / 1.437 GB, free: 8.824 MB / 1.123 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.006529/1.154, allocations: 3.544 MB / 1.44 GB, free: 5.105 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.156, allocations: 0.8159 MB / 1.441 GB, free: 4.277 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000601/1.157, allocations: 306.7 kB / 1.441 GB, free: 3.977 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-05/1.157, allocations: 28.61 kB / 1.441 GB, free: 3.949 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/1.158, allocations: 0.5175 MB / 1.442 GB, free: 3.418 MB / 1.123 GB Notification: Performance of pre-optimization done (n=87): time 3.115e-06/1.158, allocations: 0 / 1.442 GB, free: 3.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.003666/1.161, allocations: 1.286 MB / 1.443 GB, free: 2.105 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/1.161, allocations: 200.9 kB / 1.443 GB, free: 1.867 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/1.163, allocations: 0.7353 MB / 1.444 GB, free: 1.117 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.163, allocations: 41.7 kB / 1.444 GB, free: 1.07 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/1.163, allocations: 0.532 MB / 1.445 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/1.164, allocations: 297.5 kB / 1.445 GB, free: 244 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/1.164, allocations: 154.6 kB / 1.445 GB, free: 84 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.164, allocations: 334 kB / 1.445 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/1.165, allocations: 274 kB / 1.446 GB, free: 15.48 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/1.165, allocations: 398.4 kB / 1.446 GB, free: 15.07 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.167, allocations: 0.6359 MB / 1.447 GB, free: 14.42 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.167, allocations: 0 / 1.447 GB, free: 14.42 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002497/1.169, allocations: 0.8726 MB / 1.448 GB, free: 13.54 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.169, allocations: 7.938 kB / 1.448 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.169, allocations: 4 kB / 1.448 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/1.17, allocations: 88.8 kB / 1.448 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/1.171, allocations: 159.8 kB / 1.448 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/1.173, allocations: 1.625 MB / 1.449 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.174, allocations: 113.8 kB / 1.449 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.174, allocations: 32.16 kB / 1.45 GB, free: 11.37 MB / 1.139 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 (96): * Single equations (assignments): 95 * 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.0007326/1.175, allocations: 304.1 kB / 1.45 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/1.175, allocations: 99.34 kB / 1.45 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.178, allocations: 1.126 MB / 1.451 GB, free: 9.832 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.178, allocations: 12 kB / 1.451 GB, free: 9.82 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.178, allocations: 0 / 1.451 GB, free: 9.82 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/1.178, allocations: 3.984 kB / 1.451 GB, free: 9.816 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/1.18, allocations: 1.06 MB / 1.452 GB, free: 8.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.18, allocations: 4 kB / 1.452 GB, free: 8.703 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/1.181, allocations: 147.8 kB / 1.452 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/1.181, allocations: 72.78 kB / 1.452 GB, free: 8.484 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/1.181, allocations: 39.91 kB / 1.452 GB, free: 8.445 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.183, allocations: 1.654 MB / 1.454 GB, free: 6.641 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.183, allocations: 0 / 1.454 GB, free: 6.641 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.186, allocations: 0.9869 MB / 1.455 GB, free: 5.633 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/1.186, allocations: 296.1 kB / 1.455 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/1.187, allocations: 24 kB / 1.455 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/1.187, allocations: 63.86 kB / 1.455 GB, free: 5.238 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/1.187, allocations: 72.91 kB / 1.455 GB, free: 5.168 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.489e-05/1.188, allocations: 43.97 kB / 1.455 GB, free: 5.125 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008448/1.188, allocations: 0.5224 MB / 1.456 GB, free: 4.605 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.188, allocations: 0 / 1.456 GB, free: 4.605 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001266/1.19, allocations: 386.8 kB / 1.456 GB, free: 4.227 MB / 1.139 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 (98): * Single equations (assignments): 92 * 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.004488/1.194, allocations: 2.04 MB / 1.458 GB, free: 2.34 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001978/1.196, allocations: 0.8272 MB / 1.459 GB, free: 1.504 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.196, allocations: 4 kB / 1.459 GB, free: 1.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.197, allocations: 0.5121 MB / 1.46 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.199, allocations: 331.5 kB / 1.46 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.212, allocations: 7.07 MB / 1.467 GB, free: 9.445 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/1.213, allocations: 1.108 MB / 1.468 GB, free: 8.312 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001064/1.214, allocations: 299.5 kB / 1.468 GB, free: 8.016 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007593/1.215, allocations: 483.2 kB / 1.469 GB, free: 7.543 MB / 1.154 GB Notification: Performance of SimCode: time 1.252e-06/1.215, allocations: 0 / 1.469 GB, free: 7.543 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06871/1.284, allocations: 24.31 MB / 1.492 GB, free: 15.57 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.69, allocations: 18.81 kB / 1.492 GB, free: 15.55 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.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.94114432297647]