Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007902/0.007902, allocations: 100.4 kB / 15.73 MB, free: 6.469 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.001794/0.001794, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.12 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3342, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007602/0.3419, allocations: 5.16 MB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8043/1.146, allocations: 150.7 MB / 1.359 GB, free: 9.074 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/1.147, allocations: 19.5 kB / 1.36 GB, free: 9.066 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/1.149, allocations: 196.5 kB / 1.36 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/1.151, allocations: 0.5593 MB / 1.36 GB, free: 8.621 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/1.154, allocations: 0.8675 MB / 1.361 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002597/1.156, allocations: 1.461 MB / 1.363 GB, free: 7.418 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/1.158, allocations: 0.6507 MB / 1.363 GB, free: 7.082 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/1.159, allocations: 0.5233 MB / 1.364 GB, free: 6.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/1.16, allocations: 0.5447 MB / 1.364 GB, free: 6.531 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003861/1.16, allocations: 125.3 kB / 1.364 GB, free: 6.531 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/1.162, allocations: 0.51 MB / 1.365 GB, free: 6.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004943/1.162, allocations: 314.8 kB / 1.365 GB, free: 6.211 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009991/1.163, allocations: 0.6068 MB / 1.366 GB, free: 5.809 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/1.166, allocations: 1.756 MB / 1.367 GB, free: 5.062 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.166, allocations: 1.281 kB / 1.367 GB, free: 5.062 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.166, allocations: 0 / 1.367 GB, free: 5.062 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.291e-05/1.166, allocations: 0 / 1.367 GB, free: 5.062 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003719/1.17, allocations: 1.516 MB / 1.369 GB, free: 4.039 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.17, allocations: 10.31 kB / 1.369 GB, free: 4.039 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/1.17, allocations: 147.6 kB / 1.369 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/1.172, allocations: 219.1 kB / 1.369 GB, free: 3.871 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.173, allocations: 0.7791 MB / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/1.173, allocations: 72.75 kB / 1.37 GB, free: 3.336 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.173, allocations: 89.72 kB / 1.37 GB, free: 3.309 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.175, allocations: 1.018 MB / 1.371 GB, free: 2.852 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.175, allocations: 5.188 kB / 1.371 GB, free: 2.848 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/1.175, allocations: 41.41 kB / 1.371 GB, free: 2.816 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/1.175, allocations: 22.69 kB / 1.371 GB, free: 2.816 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.178, allocations: 1.178 MB / 1.372 GB, free: 2.363 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.005011/1.183, allocations: 2.939 MB / 1.375 GB, free: 0 / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.184, allocations: 0.9111 MB / 1.376 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/1.185, allocations: 317.3 kB / 1.376 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/1.186, allocations: 477.8 kB / 1.377 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009909/1.187, allocations: 0.4948 MB / 1.377 GB, free: 14.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.066e-06/1.187, allocations: 0 / 1.377 GB, free: 14.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003634/1.19, allocations: 1.235 MB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.19, allocations: 192.8 kB / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/1.192, allocations: 0.6372 MB / 1.379 GB, free: 13.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/1.192, allocations: 42.73 kB / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/1.192, allocations: 428.2 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.192, allocations: 270.3 kB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/1.193, allocations: 148.7 kB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.193, allocations: 393.5 kB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/1.193, allocations: 255.6 kB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/1.194, allocations: 376.6 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/1.196, allocations: 0.6015 MB / 1.382 GB, free: 11.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.196, allocations: 1.031 kB / 1.382 GB, free: 11.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002326/1.198, allocations: 0.834 MB / 1.383 GB, free: 11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.198, allocations: 9.625 kB / 1.383 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.198, allocations: 1.062 kB / 1.383 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/1.199, allocations: 80.44 kB / 1.383 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/1.199, allocations: 156.9 kB / 1.383 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.202, allocations: 1.622 MB / 1.384 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008659/1.202, allocations: 102.2 kB / 1.385 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/1.203, allocations: 27.33 kB / 1.385 GB, free: 9.254 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: 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 (88): * Single equations (assignments): 87 * 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.0005375/1.203, allocations: 277 kB / 1.385 GB, free: 9.035 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/1.203, allocations: 84.31 kB / 1.385 GB, free: 8.992 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/1.206, allocations: 1.099 MB / 1.386 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.206, allocations: 8.875 kB / 1.386 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.206, allocations: 0 / 1.386 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.206, allocations: 5.234 kB / 1.386 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/1.21, allocations: 2.012 MB / 1.388 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.21, allocations: 0 / 1.388 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/1.211, allocations: 150.3 kB / 1.388 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/1.211, allocations: 70.81 kB / 1.388 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/1.212, allocations: 25.14 kB / 1.388 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/1.214, allocations: 1.661 MB / 1.39 GB, free: 5.332 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.214, allocations: 0 / 1.39 GB, free: 5.332 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/1.216, allocations: 1.025 MB / 1.391 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/1.217, allocations: 277.7 kB / 1.391 GB, free: 4.508 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.217, allocations: 22.23 kB / 1.391 GB, free: 4.492 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/1.218, allocations: 58.7 kB / 1.391 GB, free: 4.465 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.218, allocations: 72.83 kB / 1.391 GB, free: 4.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/1.218, allocations: 34.89 kB / 1.391 GB, free: 4.418 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007634/1.219, allocations: 478.5 kB / 1.392 GB, free: 4.145 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.21e-07/1.219, allocations: 1.875 kB / 1.392 GB, free: 4.145 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001095/1.22, allocations: 356 kB / 1.392 GB, free: 4.035 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.003902/1.224, allocations: 2.093 MB / 1.394 GB, free: 2.727 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.226, allocations: 0.8128 MB / 1.395 GB, free: 2.305 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.226, allocations: 4 kB / 1.395 GB, free: 2.301 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00098/1.227, allocations: 0.5369 MB / 1.395 GB, free: 1.992 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.228, allocations: 302.1 kB / 1.396 GB, free: 1.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.239, allocations: 6.411 MB / 1.402 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/1.24, allocations: 1.041 MB / 1.403 GB, free: 13.04 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009589/1.241, allocations: 285.4 kB / 1.403 GB, free: 12.89 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/1.242, allocations: 404 kB / 1.404 GB, free: 12.56 MB / 1.092 GB Notification: Performance of SimCode: time 5.62e-07/1.242, allocations: 0 / 1.404 GB, free: 12.56 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/1.298, allocations: 22.89 MB / 1.426 GB, free: 6.469 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.91, allocations: 10.47 kB / 1.426 GB, free: 6.465 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches