Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.00741/0.00741, allocations: 100.7 kB / 15.73 MB, free: 6.496 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.001753/0.001753, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.297/1.297, 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 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2834, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008048/0.2915, allocations: 6.945 MB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8426/1.134, allocations: 151.3 MB / 1.321 GB, free: 8.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/1.136, allocations: 18 kB / 1.321 GB, free: 8.711 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/1.137, allocations: 265.3 kB / 1.321 GB, free: 8.559 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/1.141, allocations: 0.8084 MB / 1.322 GB, free: 8.172 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/1.144, allocations: 0.9943 MB / 1.323 GB, free: 8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0038/1.148, allocations: 2.143 MB / 1.325 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/1.15, allocations: 1.021 MB / 1.326 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/1.152, allocations: 0.8491 MB / 1.327 GB, free: 6.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/1.154, allocations: 0.9051 MB / 1.327 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000843/1.155, allocations: 207.3 kB / 1.328 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/1.157, allocations: 0.5663 MB / 1.328 GB, free: 5.977 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009639/1.158, allocations: 487.8 kB / 1.329 GB, free: 5.656 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002095/1.16, allocations: 0.9612 MB / 1.33 GB, free: 5.023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004228/1.165, allocations: 2.571 MB / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.165, allocations: 0 / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/1.165, allocations: 0 / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.891e-05/1.165, allocations: 1.625 kB / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005138/1.17, allocations: 2.061 MB / 1.334 GB, free: 2.609 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.17, allocations: 13.64 kB / 1.334 GB, free: 2.605 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002991/1.17, allocations: 223.5 kB / 1.334 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/1.172, allocations: 262.8 kB / 1.335 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/1.173, allocations: 0.9912 MB / 1.336 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/1.174, allocations: 113.7 kB / 1.336 GB, free: 1.672 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/1.174, allocations: 151.1 kB / 1.336 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/1.177, allocations: 1.581 MB / 1.337 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/1.177, allocations: 0 / 1.337 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/1.177, allocations: 70.39 kB / 1.337 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/1.177, allocations: 37.03 kB / 1.337 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/1.18, allocations: 1.646 MB / 1.339 GB, free: 440 kB / 1.014 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.008094/1.188, allocations: 4.517 MB / 1.344 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/1.191, allocations: 1.191 MB / 1.345 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000867/1.191, allocations: 476.7 kB / 1.345 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/1.192, allocations: 52.12 kB / 1.345 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/1.193, allocations: 0.7867 MB / 1.346 GB, free: 12.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=128): time 2.635e-06/1.193, allocations: 3.938 kB / 1.346 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=128): time 0.004785/1.198, allocations: 1.835 MB / 1.348 GB, free: 12.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.198, allocations: 198.5 kB / 1.348 GB, free: 11.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/1.199, allocations: 0.8681 MB / 1.349 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/1.2, allocations: 56.16 kB / 1.349 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/1.2, allocations: 0.6098 MB / 1.349 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/1.201, allocations: 410.3 kB / 1.35 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/1.201, allocations: 237.9 kB / 1.35 GB, free: 10.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.201, allocations: 351.8 kB / 1.35 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/1.202, allocations: 430.1 kB / 1.351 GB, free: 10 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/1.203, allocations: 0.5577 MB / 1.351 GB, free: 9.734 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.205, allocations: 0.965 MB / 1.352 GB, free: 9.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.205, allocations: 1.062 kB / 1.352 GB, free: 9.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003083/1.208, allocations: 1.298 MB / 1.354 GB, free: 8.652 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/1.208, allocations: 5.781 kB / 1.354 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.208, allocations: 1.062 kB / 1.354 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/1.209, allocations: 90.67 kB / 1.354 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.21, allocations: 258.4 kB / 1.354 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/1.212, allocations: 1.647 MB / 1.356 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.213, allocations: 152.5 kB / 1.356 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.214, allocations: 49.14 kB / 1.356 GB, free: 6.809 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0007728/1.214, allocations: 347.3 kB / 1.356 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/1.215, allocations: 123.2 kB / 1.356 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/1.218, allocations: 1.694 MB / 1.358 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.218, allocations: 19.11 kB / 1.358 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.218, allocations: 7.938 kB / 1.358 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.219, allocations: 3.984 kB / 1.358 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/1.221, allocations: 1.411 MB / 1.359 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.221, allocations: 0 / 1.359 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009558/1.222, allocations: 214.3 kB / 1.359 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/1.222, allocations: 75.28 kB / 1.359 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/1.222, allocations: 42.95 kB / 1.36 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.224, allocations: 1.676 MB / 1.361 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.224, allocations: 5.891 kB / 1.361 GB, free: 2.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/1.227, allocations: 1.406 MB / 1.363 GB, free: 2.027 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007135/1.228, allocations: 374.9 kB / 1.363 GB, free: 1.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/1.228, allocations: 42.14 kB / 1.363 GB, free: 1.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/1.229, allocations: 87.75 kB / 1.363 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/1.229, allocations: 109 kB / 1.363 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.229, allocations: 58.73 kB / 1.363 GB, free: 1.547 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009329/1.23, allocations: 0.6458 MB / 1.364 GB, free: 1.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.603e-06/1.23, allocations: 0 / 1.364 GB, free: 1.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001359/1.232, allocations: 495.7 kB / 1.364 GB, free: 1.031 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00449/1.236, allocations: 2.471 MB / 1.367 GB, free: 15.58 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.239, allocations: 1.246 MB / 1.368 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.239, allocations: 0 / 1.368 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/1.24, allocations: 0.7332 MB / 1.369 GB, free: 14.56 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.242, allocations: 356.1 kB / 1.369 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/1.258, allocations: 9.278 MB / 1.378 GB, free: 8.961 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/1.258, allocations: 1.24 MB / 1.379 GB, free: 8.023 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001219/1.26, allocations: 335 kB / 1.38 GB, free: 7.863 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008918/1.261, allocations: 0.6299 MB / 1.38 GB, free: 7.336 MB / 1.045 GB Notification: Performance of SimCode: time 1.283e-06/1.261, allocations: 3.938 kB / 1.38 GB, free: 7.332 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07461/1.335, allocations: 31.17 MB / 1.411 GB, free: 9.938 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/15, allocations: 8.047 kB / 1.411 GB, free: 9.93 MB / 1.076 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches