Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.005119/0.005119, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001269/0.001269, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.369/2.369, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.5 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2656, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008249/0.2739, allocations: 5.733 MB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.4349, allocations: 155.2 MB / 1.245 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.4366, allocations: 27.88 kB / 1.245 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004673/0.4413, allocations: 1.767 MB / 1.246 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.4437, allocations: 0.7944 MB / 1.247 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.446, allocations: 0.9729 MB / 1.248 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002682/0.4487, allocations: 2.373 MB / 1.25 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.4499, allocations: 0.9876 MB / 1.251 GB, free: 9.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.4511, allocations: 0.8759 MB / 1.252 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.4524, allocations: 0.9024 MB / 1.253 GB, free: 7.605 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.4527, allocations: 184 kB / 1.253 GB, free: 7.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003542/0.4562, allocations: 2.259 MB / 1.256 GB, free: 5.164 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.4573, allocations: 1.208 MB / 1.257 GB, free: 3.953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.4587, allocations: 1.387 MB / 1.258 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.6328/1.092, allocations: 5.368 MB / 1.263 GB, free: 10.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.092, allocations: 1.281 kB / 1.263 GB, free: 10.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/1.092, allocations: 3.781 kB / 1.263 GB, free: 10.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.624e-05/1.092, allocations: 0.6562 kB / 1.263 GB, free: 10.75 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01211/1.104, allocations: 3.943 MB / 1.267 GB, free: 9.152 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/1.104, allocations: 14.36 kB / 1.267 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003548/1.104, allocations: 191.8 kB / 1.267 GB, free: 9.109 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/1.107, allocations: 347.5 kB / 1.268 GB, free: 8.961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.132/1.239, allocations: 91.65 MB / 1.357 GB, free: 3.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.239, allocations: 104.2 kB / 1.357 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004759/1.239, allocations: 136.8 kB / 1.357 GB, free: 2.785 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.242, allocations: 1.36 MB / 1.359 GB, free: 1.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/1.242, allocations: 0 / 1.359 GB, free: 1.371 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/1.242, allocations: 53.2 kB / 1.359 GB, free: 1.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/1.242, allocations: 32.84 kB / 1.359 GB, free: 1.289 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/1.245, allocations: 1.499 MB / 1.36 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/1.27, allocations: 23.39 MB / 1.383 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/1.272, allocations: 1.121 MB / 1.384 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/1.273, allocations: 442.3 kB / 1.385 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/1.273, allocations: 41.17 kB / 1.385 GB, free: 6.875 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/1.275, allocations: 0.6506 MB / 1.385 GB, free: 6.211 MB / 1.061 GB Notification: Performance of pre-optimization done (n=100): time 3.156e-06/1.275, allocations: 0 / 1.385 GB, free: 6.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=100): time 0.005424/1.28, allocations: 1.74 MB / 1.387 GB, free: 4.453 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/1.28, allocations: 195.3 kB / 1.387 GB, free: 4.223 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1096/1.39, allocations: 99.42 MB / 1.484 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004627/1.39, allocations: 49.7 kB / 1.484 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.392, allocations: 1.072 MB / 1.485 GB, free: 15.71 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/1.393, allocations: 317.6 kB / 1.486 GB, free: 15.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/1.393, allocations: 243.8 kB / 1.486 GB, free: 15.16 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.394, allocations: 353.9 kB / 1.486 GB, free: 14.81 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.395, allocations: 487.3 kB / 1.487 GB, free: 14.34 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.396, allocations: 0.6272 MB / 1.487 GB, free: 13.68 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/1.398, allocations: 1.001 MB / 1.488 GB, free: 12.67 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.398, allocations: 6.156 kB / 1.488 GB, free: 12.67 MB / 1.17 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00446/1.402, allocations: 1.506 MB / 1.49 GB, free: 11.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.402, allocations: 4 kB / 1.49 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.402, allocations: 0 / 1.49 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006612/1.403, allocations: 92.17 kB / 1.49 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.404, allocations: 232.2 kB / 1.49 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.406, allocations: 1.634 MB / 1.492 GB, free: 9.102 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/1.409, allocations: 275.5 kB / 1.492 GB, free: 8.836 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/1.409, allocations: 56.81 kB / 1.492 GB, free: 8.781 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * 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.002045/1.411, allocations: 0.8025 MB / 1.493 GB, free: 7.984 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/1.412, allocations: 221.2 kB / 1.493 GB, free: 7.766 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/1.416, allocations: 1.626 MB / 1.495 GB, free: 6.152 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.417, allocations: 13.09 kB / 1.495 GB, free: 6.141 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.417, allocations: 1 kB / 1.495 GB, free: 6.141 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/1.417, allocations: 3.984 kB / 1.495 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/1.421, allocations: 1.953 MB / 1.497 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.421, allocations: 0.8125 kB / 1.497 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/1.422, allocations: 194 kB / 1.497 GB, free: 3.984 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/1.422, allocations: 76.02 kB / 1.497 GB, free: 3.914 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.422, allocations: 31.97 kB / 1.497 GB, free: 3.883 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/1.424, allocations: 1.656 MB / 1.498 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.424, allocations: 1.031 kB / 1.498 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/1.428, allocations: 1.361 MB / 1.5 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.431, allocations: 0.7591 MB / 1.501 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.432, allocations: 31.88 kB / 1.501 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.434, allocations: 189.8 kB / 1.501 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/1.434, allocations: 84.88 kB / 1.501 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.434, allocations: 48.94 kB / 1.501 GB, free: 15.6 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.07428/1.508, allocations: 79.4 MB / 1.578 GB, free: 192 kB / 1.248 GB Notification: Performance of sort global known variables: time 6.22e-07/1.508, allocations: 0.875 kB / 1.578 GB, free: 192 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.003982/1.512, allocations: 0.992 MB / 1.579 GB, free: 15.2 MB / 1.264 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.007718/1.52, allocations: 2.766 MB / 1.582 GB, free: 12.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002744/1.523, allocations: 1.249 MB / 1.583 GB, free: 11.46 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.523, allocations: 0 / 1.583 GB, free: 11.46 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/1.524, allocations: 0.6707 MB / 1.584 GB, free: 10.8 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/1.528, allocations: 406.8 kB / 1.584 GB, free: 10.43 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9022/2.43, allocations: 407.1 MB / 1.982 GB, free: 470.7 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/2.431, allocations: 1.718 MB / 1.984 GB, free: 469 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002267/2.433, allocations: 0.7717 MB / 1.984 GB, free: 468.3 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/2.435, allocations: 1.1 MB / 1.985 GB, free: 467.2 MB / 1.467 GB Notification: Performance of SimCode: time 7.62e-07/2.435, allocations: 0 / 1.985 GB, free: 467.2 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.249/2.684, allocations: 108.7 MB / 2.092 GB, free: 359.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/21.11, allocations: 10.03 kB / 2.092 GB, free: 359.6 MB / 1.467 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches