Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 210.8 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 70.42 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008631/0.3418, allocations: 5.938 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.192/0.5338, allocations: 154.8 MB / 1.483 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.5351, allocations: 23.81 kB / 1.483 GB, free: 500 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.536, allocations: 229.9 kB / 1.483 GB, free: 268 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.5385, allocations: 0.6733 MB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.5413, allocations: 1.016 MB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.5442, allocations: 1.936 MB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.5453, allocations: 0.5154 MB / 1.487 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.5466, allocations: 0.7087 MB / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.5478, allocations: 0.7526 MB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.5482, allocations: 168 kB / 1.489 GB, free: 10.45 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.55, allocations: 0.683 MB / 1.489 GB, free: 9.77 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005484/0.5505, allocations: 450.6 kB / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.5517, allocations: 0.7813 MB / 1.491 GB, free: 8.543 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.5555, allocations: 2.273 MB / 1.493 GB, free: 6.262 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5555, allocations: 0 / 1.493 GB, free: 6.262 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5555, allocations: 0 / 1.493 GB, free: 6.262 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.274e-05/0.5555, allocations: 0 / 1.493 GB, free: 6.262 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004038/0.5595, allocations: 1.822 MB / 1.495 GB, free: 4.391 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5596, allocations: 12.03 kB / 1.495 GB, free: 4.379 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002344/0.5598, allocations: 190 kB / 1.495 GB, free: 4.184 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.5711, allocations: 1.377 MB / 1.496 GB, free: 2.805 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.5734, allocations: 0.9209 MB / 1.497 GB, free: 1.859 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.515e-05/0.5735, allocations: 94.44 kB / 1.497 GB, free: 1.766 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.5737, allocations: 116 kB / 1.497 GB, free: 1.652 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.5795, allocations: 2.038 MB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.5795, allocations: 11.92 kB / 1.499 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.5797, allocations: 52 kB / 1.499 GB, free: 15.49 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.5797, allocations: 32 kB / 1.499 GB, free: 15.46 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008224/0.5879, allocations: 2.76 MB / 1.502 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.5986, allocations: 4.755 MB / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008771/0.6074, allocations: 2.581 MB / 1.509 GB, free: 5.18 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003439/0.6108, allocations: 0.9911 MB / 1.51 GB, free: 4.184 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.6112, allocations: 89.03 kB / 1.51 GB, free: 4.098 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004161/0.6153, allocations: 1.348 MB / 1.512 GB, free: 2.73 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 3.487e-06/0.6153, allocations: 8 kB / 1.512 GB, free: 2.723 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01239/0.6277, allocations: 3.316 MB / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.6279, allocations: 193.2 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.6293, allocations: 0.802 MB / 1.516 GB, free: 14.35 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.6296, allocations: 49.7 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005207/0.6302, allocations: 497.7 kB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005695/0.6307, allocations: 456.1 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/0.6312, allocations: 254.7 kB / 1.517 GB, free: 13.1 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.6314, allocations: 353.9 kB / 1.517 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/0.6345, allocations: 0.9392 MB / 1.518 GB, free: 11.81 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/0.638, allocations: 1.097 MB / 1.519 GB, free: 10.68 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006576/0.6446, allocations: 1.895 MB / 1.521 GB, free: 8.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.6446, allocations: 0 / 1.521 GB, free: 8.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008279/0.6528, allocations: 2.284 MB / 1.523 GB, free: 6.473 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.6529, allocations: 5.875 kB / 1.523 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.6529, allocations: 4 kB / 1.523 GB, free: 6.465 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006697/0.6536, allocations: 88.77 kB / 1.524 GB, free: 6.375 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.6562, allocations: 423.3 kB / 1.524 GB, free: 5.961 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.6588, allocations: 1.542 MB / 1.525 GB, free: 4.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.6614, allocations: 284.8 kB / 1.526 GB, free: 4.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.6616, allocations: 63.98 kB / 1.526 GB, free: 3.957 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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,incAng.decAng.tNext,$PRE.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 (142): * Single equations (assignments): 141 * 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.0009012/0.6625, allocations: 327.3 kB / 1.526 GB, free: 3.625 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.6629, allocations: 123.2 kB / 1.526 GB, free: 3.504 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008697/0.6716, allocations: 2.727 MB / 1.529 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.6716, allocations: 12 kB / 1.529 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6716, allocations: 0 / 1.529 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.6717, allocations: 7.969 kB / 1.529 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.683, allocations: 4.321 MB / 1.533 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.683, allocations: 0 / 1.533 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/0.6855, allocations: 407.4 kB / 1.533 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.6859, allocations: 72.8 kB / 1.534 GB, free: 11.89 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.6862, allocations: 55.92 kB / 1.534 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.6884, allocations: 1.578 MB / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6884, allocations: 0 / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007909/0.6964, allocations: 2.502 MB / 1.538 GB, free: 7.609 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.6974, allocations: 354.6 kB / 1.538 GB, free: 7.262 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.6976, allocations: 31.98 kB / 1.538 GB, free: 7.23 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/0.6997, allocations: 223.7 kB / 1.538 GB, free: 7.012 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.6999, allocations: 113 kB / 1.538 GB, free: 6.902 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.7, allocations: 67.94 kB / 1.538 GB, free: 6.836 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008674/0.7009, allocations: 0.5732 MB / 1.539 GB, free: 6.27 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7009, allocations: 0 / 1.539 GB, free: 6.27 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001343/0.7023, allocations: 0.4911 MB / 1.539 GB, free: 5.777 MB / 1.232 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.01004/0.7123, allocations: 3.594 MB / 1.543 GB, free: 2.332 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007387/0.7197, allocations: 2.277 MB / 1.545 GB, free: 40 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.7197, allocations: 8.109 kB / 1.545 GB, free: 32 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003903/0.7236, allocations: 1.251 MB / 1.546 GB, free: 14.77 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.7253, allocations: 346.8 kB / 1.547 GB, free: 14.45 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/0.7562, allocations: 12.11 MB / 1.559 GB, free: 2.188 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008942/0.7571, allocations: 1.163 MB / 1.56 GB, free: 0.9922 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001746/0.7589, allocations: 489.4 kB / 1.56 GB, free: 0.5117 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.76, allocations: 0.5499 MB / 1.561 GB, free: 15.96 MB / 1.264 GB Notification: Performance of SimCode: time 1.222e-06/0.76, allocations: 0 / 1.561 GB, free: 15.96 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.8449, allocations: 33.14 MB / 1.593 GB, free: 15.08 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.43, allocations: 0 / 1.593 GB, free: 15.08 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.291183192999597]