Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.008001/0.008001, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.001848/0.001848, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 71.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7759, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008602/0.7845, allocations: 6.978 MB / 1.094 GB, free: 284 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2003/0.9848, allocations: 159.4 MB / 1.25 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.9864, allocations: 39.81 kB / 1.25 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004825/0.9912, allocations: 1.953 MB / 1.252 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.9946, allocations: 1.178 MB / 1.253 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.9983, allocations: 1.425 MB / 1.254 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005367/1.004, allocations: 5.248 MB / 1.26 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/1.005, allocations: 1.174 MB / 1.261 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/1.008, allocations: 1.675 MB / 1.262 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/1.01, allocations: 1.459 MB / 1.264 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/1.011, allocations: 276 kB / 1.264 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/1.014, allocations: 2.352 MB / 1.266 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002248/1.017, allocations: 3.014 MB / 1.269 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002938/1.02, allocations: 2.896 MB / 1.272 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/1.03, allocations: 10.75 MB / 1.283 GB, free: 5.797 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.03, allocations: 0 / 1.283 GB, free: 5.797 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.332e-06/1.03, allocations: 0 / 1.283 GB, free: 5.797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001158/1.03, allocations: 0 / 1.283 GB, free: 5.797 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01536/1.046, allocations: 8.238 MB / 1.291 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.046, allocations: 12.03 kB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002628/1.046, allocations: 223.9 kB / 1.291 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/1.048, allocations: 0.5917 MB / 1.291 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2559/1.304, allocations: 276 MB / 1.561 GB, free: 8.461 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/1.304, allocations: 138.9 kB / 1.561 GB, free: 8.324 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006299/1.305, allocations: 188 kB / 1.561 GB, free: 8.141 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/1.309, allocations: 1.96 MB / 1.563 GB, free: 6.102 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/1.309, allocations: 4 kB / 1.563 GB, free: 6.098 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/1.309, allocations: 64 kB / 1.563 GB, free: 6.035 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/1.31, allocations: 36 kB / 1.563 GB, free: 6 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/1.313, allocations: 1.982 MB / 1.565 GB, free: 4.012 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6431/1.956, allocations: 69.84 MB / 1.633 GB, free: 441 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/1.959, allocations: 1.779 MB / 1.635 GB, free: 440.4 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.96, allocations: 1.08 MB / 1.636 GB, free: 439.5 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/1.961, allocations: 40 kB / 1.636 GB, free: 439.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/1.962, allocations: 1.192 MB / 1.637 GB, free: 438.5 MB / 1.311 GB Notification: Performance of pre-optimization done (n=117): time 3.316e-06/1.962, allocations: 0 / 1.637 GB, free: 438.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=117): time 0.007985/1.97, allocations: 3.697 MB / 1.641 GB, free: 435.4 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.971, allocations: 345 kB / 1.641 GB, free: 435.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2585/2.229, allocations: 315.9 MB / 1.95 GB, free: 124.8 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003899/2.229, allocations: 65.7 kB / 1.95 GB, free: 124.7 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002552/2.232, allocations: 2.228 MB / 1.952 GB, free: 122.6 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/2.232, allocations: 393.5 kB / 1.953 GB, free: 122.3 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000824/2.233, allocations: 459.3 kB / 1.953 GB, free: 121.8 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/2.233, allocations: 307.5 kB / 1.953 GB, free: 121.5 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/2.235, allocations: 1.523 MB / 1.955 GB, free: 120 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/2.237, allocations: 1.835 MB / 1.957 GB, free: 118.1 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/2.241, allocations: 3.221 MB / 1.96 GB, free: 114.8 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/2.241, allocations: 7.734 kB / 1.96 GB, free: 114.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007989/2.249, allocations: 4.278 MB / 1.964 GB, free: 110.5 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/2.249, allocations: 165.6 kB / 1.964 GB, free: 110.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/2.249, allocations: 10.5 kB / 1.964 GB, free: 110.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/2.25, allocations: 92.67 kB / 1.964 GB, free: 110.2 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/2.251, allocations: 387.4 kB / 1.965 GB, free: 109.8 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/2.253, allocations: 1.644 MB / 1.966 GB, free: 108.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/2.257, allocations: 0.6317 MB / 1.967 GB, free: 107.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/2.257, allocations: 95.41 kB / 1.967 GB, free: 107.3 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.002864/2.26, allocations: 2.164 MB / 1.969 GB, free: 105.1 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002626/2.263, allocations: 457.9 kB / 1.969 GB, free: 104.7 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/2.268, allocations: 3.376 MB / 1.973 GB, free: 101.3 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/2.268, allocations: 12 kB / 1.973 GB, free: 101.3 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/2.268, allocations: 0 / 1.973 GB, free: 101.3 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/2.269, allocations: 7.828 kB / 1.973 GB, free: 101.3 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/2.276, allocations: 4.083 MB / 1.977 GB, free: 97.18 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/2.276, allocations: 5.688 kB / 1.977 GB, free: 97.17 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/2.277, allocations: 187.7 kB / 1.977 GB, free: 96.99 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/2.277, allocations: 68.8 kB / 1.977 GB, free: 96.92 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/2.278, allocations: 43.97 kB / 1.977 GB, free: 96.88 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/2.279, allocations: 1.661 MB / 1.979 GB, free: 95.07 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/2.279, allocations: 0 / 1.979 GB, free: 95.07 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008003/2.287, allocations: 3.032 MB / 1.982 GB, free: 92.01 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005019/2.292, allocations: 1.782 MB / 1.983 GB, free: 90.2 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/2.294, allocations: 28 kB / 1.983 GB, free: 90.17 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/2.298, allocations: 419.9 kB / 1.984 GB, free: 89.76 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/2.298, allocations: 92.88 kB / 1.984 GB, free: 89.67 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/2.298, allocations: 63.95 kB / 1.984 GB, free: 89.61 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.7729/3.071, allocations: 251.5 MB / 2.23 GB, free: 362 MB / 1.326 GB Notification: Performance of sort global known variables: time 9.42e-07/3.071, allocations: 0 / 2.23 GB, free: 362 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.005383/3.076, allocations: 1.379 MB / 2.231 GB, free: 360.8 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.01004/3.086, allocations: 4.452 MB / 2.235 GB, free: 357.3 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005129/3.092, allocations: 4.334 MB / 2.239 GB, free: 353.3 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/3.092, allocations: 3.828 kB / 2.239 GB, free: 353.3 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/3.094, allocations: 1.91 MB / 2.241 GB, free: 351.6 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/3.099, allocations: 0.5957 MB / 2.242 GB, free: 351.1 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.99/5.089, allocations: 1.258 GB / 3.5 GB, free: 126.5 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/5.092, allocations: 3.011 MB / 3.503 GB, free: 123.5 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.004006/5.096, allocations: 1.688 MB / 3.504 GB, free: 121.9 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003932/5.1, allocations: 2.354 MB / 3.507 GB, free: 119.6 MB / 1.342 GB Notification: Performance of SimCode: time 6.91e-07/5.1, allocations: 0 / 3.507 GB, free: 119.6 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.081/6.181, allocations: 274.8 MB / 3.775 GB, free: 374.2 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.36/30.54, allocations: 18.14 kB / 3.775 GB, free: 374.2 MB / 1.342 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches