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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001378, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001512/0.001512, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.712/2.712, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 53.41 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3582, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01009/0.3683, allocations: 7.024 MB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7248/1.093, allocations: 151.2 MB / 1.219 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/1.095, allocations: 18.5 kB / 1.219 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/1.096, allocations: 266.8 kB / 1.219 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003158/1.099, allocations: 0.7741 MB / 1.22 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/1.102, allocations: 1.009 MB / 1.221 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003146/1.105, allocations: 2.078 MB / 1.223 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/1.107, allocations: 1.108 MB / 1.224 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/1.109, allocations: 0.8195 MB / 1.225 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/1.11, allocations: 0.8876 MB / 1.225 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005622/1.111, allocations: 217.6 kB / 1.226 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/1.112, allocations: 0.5445 MB / 1.226 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000659/1.113, allocations: 0.4885 MB / 1.227 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/1.115, allocations: 0.9689 MB / 1.228 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003602/1.118, allocations: 2.605 MB / 1.23 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.118, allocations: 0 / 1.23 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/1.118, allocations: 2.406 kB / 1.23 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001113/1.118, allocations: 0 / 1.23 GB, free: 15.03 MB / 0.9512 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.005351/1.124, allocations: 2.047 MB / 1.232 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.124, allocations: 12.62 kB / 1.232 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/1.125, allocations: 258.5 kB / 1.232 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/1.127, allocations: 0.9699 MB / 1.233 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/1.127, allocations: 152.8 kB / 1.234 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/1.127, allocations: 152 kB / 1.234 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/1.131, allocations: 1.585 MB / 1.235 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/1.131, allocations: 3.938 kB / 1.235 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.131, allocations: 68 kB / 1.235 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/1.131, allocations: 36 kB / 1.235 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/1.133, allocations: 1.592 MB / 1.237 GB, free: 8.039 MB / 0.9512 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.00761/1.141, allocations: 4.733 MB / 1.242 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/1.143, allocations: 1.096 MB / 1.243 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/1.144, allocations: 428.6 kB / 1.243 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.964e-05/1.144, allocations: 49.06 kB / 1.243 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/1.145, allocations: 0.7001 MB / 1.244 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 3.296e-06/1.145, allocations: 0 / 1.244 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.004106/1.149, allocations: 1.649 MB / 1.245 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.15, allocations: 200.9 kB / 1.246 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.151, allocations: 0.8414 MB / 1.246 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.151, allocations: 49.7 kB / 1.246 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/1.152, allocations: 0.6206 MB / 1.247 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/1.152, allocations: 355 kB / 1.247 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/1.152, allocations: 230.7 kB / 1.248 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.153, allocations: 341.9 kB / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008386/1.153, allocations: 402.4 kB / 1.248 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/1.154, allocations: 0.5149 MB / 1.249 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/1.156, allocations: 0.8838 MB / 1.25 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/1.156, allocations: 11.72 kB / 1.25 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002842/1.159, allocations: 1.203 MB / 1.251 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/1.159, allocations: 4 kB / 1.251 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.159, allocations: 7.938 kB / 1.251 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/1.16, allocations: 84.83 kB / 1.251 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/1.161, allocations: 227.7 kB / 1.251 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.163, allocations: 1.659 MB / 1.253 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.164, allocations: 135 kB / 1.253 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.164, allocations: 51.97 kB / 1.253 GB, free: 7.105 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (135): * Single equations (assignments): 134 * 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.0008282/1.165, allocations: 348.2 kB / 1.253 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/1.166, allocations: 110.6 kB / 1.253 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/1.169, allocations: 1.543 MB / 1.255 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/1.169, allocations: 12 kB / 1.255 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.169, allocations: 0 / 1.255 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.169, allocations: 7.969 kB / 1.255 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/1.172, allocations: 1.373 MB / 1.256 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.172, allocations: 0 / 1.256 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/1.173, allocations: 199.7 kB / 1.256 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/1.173, allocations: 68.8 kB / 1.256 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.173, allocations: 35.97 kB / 1.257 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/1.175, allocations: 1.678 MB / 1.258 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.175, allocations: 6.938 kB / 1.258 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/1.178, allocations: 1.277 MB / 1.259 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008078/1.179, allocations: 367.3 kB / 1.26 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/1.18, allocations: 35.78 kB / 1.26 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.181, allocations: 81.47 kB / 1.26 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/1.181, allocations: 101.2 kB / 1.26 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.181, allocations: 47.97 kB / 1.26 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001191/1.182, allocations: 0.6213 MB / 1.261 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.11e-07/1.182, allocations: 0 / 1.261 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001584/1.184, allocations: 482.4 kB / 1.261 GB, free: 14.46 MB / 0.9825 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.001659/1.185, allocations: 0.6213 MB / 1.262 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00401/1.189, allocations: 1.431 MB / 1.263 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.189, allocations: 4 kB / 1.263 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/1.191, allocations: 0.6779 MB / 1.264 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.193, allocations: 357.9 kB / 1.264 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/1.198, allocations: 2.548 MB / 1.267 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.199, allocations: 1.221 MB / 1.268 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/1.2, allocations: 155.3 kB / 1.268 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of SimCode: time 1.132e-06/1.2, allocations: 0 / 1.268 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of Templates: time 0.04241/1.242, allocations: 27.3 MB / 1.295 GB, free: 12.35 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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