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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00675/0.00675, allocations: 102 kB / 15.73 MB, free: 6.039 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.001302/0.001302, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.294, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008206/0.3022, allocations: 7.032 MB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7705/1.073, allocations: 151.2 MB / 1.362 GB, free: 7.434 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/1.074, allocations: 18.59 kB / 1.362 GB, free: 7.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/1.075, allocations: 262.4 kB / 1.362 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/1.078, allocations: 0.7657 MB / 1.363 GB, free: 6.793 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002861/1.081, allocations: 1.024 MB / 1.364 GB, free: 6.242 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003356/1.084, allocations: 2.088 MB / 1.366 GB, free: 5.145 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/1.087, allocations: 1.11 MB / 1.367 GB, free: 4.555 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/1.088, allocations: 0.825 MB / 1.368 GB, free: 4.133 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/1.09, allocations: 0.8823 MB / 1.369 GB, free: 3.652 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008267/1.091, allocations: 222.6 kB / 1.369 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/1.093, allocations: 0.5793 MB / 1.369 GB, free: 3.527 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009992/1.094, allocations: 488.4 kB / 1.37 GB, free: 3.203 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002733/1.097, allocations: 0.9696 MB / 1.371 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005446/1.102, allocations: 2.67 MB / 1.373 GB, free: 1.277 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.102, allocations: 3.938 kB / 1.373 GB, free: 1.273 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.434e-06/1.102, allocations: 0 / 1.373 GB, free: 1.273 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001372/1.103, allocations: 1.156 kB / 1.373 GB, free: 1.273 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006186/1.109, allocations: 2.05 MB / 1.375 GB, free: 15.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.109, allocations: 8.906 kB / 1.375 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004671/1.109, allocations: 234.3 kB / 1.376 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/1.111, allocations: 253.6 kB / 1.376 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/1.113, allocations: 1.005 MB / 1.377 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/1.113, allocations: 142.7 kB / 1.377 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/1.113, allocations: 153 kB / 1.377 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/1.116, allocations: 1.585 MB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/1.116, allocations: 1.281 kB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/1.117, allocations: 73.72 kB / 1.379 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/1.117, allocations: 39.97 kB / 1.379 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/1.12, allocations: 1.595 MB / 1.38 GB, free: 12.64 MB / 1.076 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.008681/1.128, allocations: 4.668 MB / 1.385 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/1.131, allocations: 1.089 MB / 1.386 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/1.131, allocations: 432.7 kB / 1.386 GB, free: 8.137 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/1.132, allocations: 47.73 kB / 1.386 GB, free: 8.105 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/1.133, allocations: 0.6983 MB / 1.387 GB, free: 7.668 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 5.952e-06/1.133, allocations: 1.375 kB / 1.387 GB, free: 7.668 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.004632/1.138, allocations: 1.659 MB / 1.389 GB, free: 6.777 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.138, allocations: 193.2 kB / 1.389 GB, free: 6.559 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.139, allocations: 0.848 MB / 1.39 GB, free: 6.062 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002044/1.139, allocations: 52.41 kB / 1.39 GB, free: 6.012 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/1.14, allocations: 0.6129 MB / 1.39 GB, free: 5.473 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/1.14, allocations: 365.7 kB / 1.391 GB, free: 5.156 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/1.141, allocations: 203.3 kB / 1.391 GB, free: 5.035 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.141, allocations: 348.5 kB / 1.391 GB, free: 4.699 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/1.142, allocations: 373.5 kB / 1.392 GB, free: 4.512 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/1.143, allocations: 0.5151 MB / 1.392 GB, free: 4.188 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/1.144, allocations: 0.8577 MB / 1.393 GB, free: 3.719 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.144, allocations: 1.75 kB / 1.393 GB, free: 3.719 MB / 1.076 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002769/1.147, allocations: 1.153 MB / 1.394 GB, free: 3.129 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.147, allocations: 5.812 kB / 1.394 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/1.147, allocations: 1.156 kB / 1.394 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/1.148, allocations: 85.55 kB / 1.394 GB, free: 3.086 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009542/1.149, allocations: 218.8 kB / 1.394 GB, free: 3.031 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.151, allocations: 1.646 MB / 1.396 GB, free: 1.414 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.152, allocations: 131.9 kB / 1.396 GB, free: 1.328 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.152, allocations: 47.41 kB / 1.396 GB, free: 1.309 MB / 1.076 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.0009248/1.153, allocations: 352.6 kB / 1.396 GB, free: 1.051 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/1.154, allocations: 107.5 kB / 1.397 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/1.157, allocations: 1.531 MB / 1.398 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.157, allocations: 12.97 kB / 1.398 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.157, allocations: 3.938 kB / 1.398 GB, free: 140 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.157, allocations: 7.969 kB / 1.398 GB, free: 132 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/1.159, allocations: 1.382 MB / 1.399 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.159, allocations: 4 kB / 1.399 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008156/1.16, allocations: 196.1 kB / 1.4 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/1.161, allocations: 73.14 kB / 1.4 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.161, allocations: 34.22 kB / 1.4 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.163, allocations: 1.67 MB / 1.401 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.163, allocations: 2.281 kB / 1.401 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/1.166, allocations: 1.285 MB / 1.403 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008937/1.167, allocations: 358 kB / 1.403 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/1.167, allocations: 35.53 kB / 1.403 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.168, allocations: 79.94 kB / 1.403 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/1.168, allocations: 98.58 kB / 1.403 GB, free: 12.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.169, allocations: 59.8 kB / 1.403 GB, free: 12.26 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009571/1.169, allocations: 0.6126 MB / 1.404 GB, free: 11.9 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.169, allocations: 0 / 1.404 GB, free: 11.9 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00152/1.171, allocations: 478.6 kB / 1.404 GB, free: 11.76 MB / 1.092 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.004536/1.176, allocations: 2.352 MB / 1.407 GB, free: 10.24 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00259/1.178, allocations: 1.121 MB / 1.408 GB, free: 9.109 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.178, allocations: 4.25 kB / 1.408 GB, free: 9.105 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.179, allocations: 0.6816 MB / 1.408 GB, free: 8.41 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/1.181, allocations: 351.7 kB / 1.409 GB, free: 8.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.197, allocations: 8.685 MB / 1.417 GB, free: 15.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.199, allocations: 1.224 MB / 1.418 GB, free: 13.99 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001221/1.2, allocations: 309.3 kB / 1.419 GB, free: 13.69 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.201, allocations: 0.6125 MB / 1.419 GB, free: 13.07 MB / 1.107 GB Notification: Performance of SimCode: time 7.31e-07/1.201, allocations: 0 / 1.419 GB, free: 13.07 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06985/1.271, allocations: 29.98 MB / 1.449 GB, free: 15.46 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.75, allocations: 14.27 kB / 1.449 GB, free: 15.45 MB / 1.139 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches